Add "dev" tagged image
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 36s

This commit is contained in:
Omar Oughriss 2025-09-08 17:02:35 +02:00
parent e8cb97b6c6
commit 02f1cbb885

View File

@ -2,10 +2,7 @@ name: Build and Push to Registry
on: on:
push: push:
branches: [ main ] branches: [ dev ]
pull_request:
types: [closed]
branches: [ main ]
env: env:
REGISTRY: git.4nkweb.com REGISTRY: git.4nkweb.com
@ -14,7 +11,6 @@ env:
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.merged == true || github.event_name == 'push'
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -36,4 +32,5 @@ jobs:
push: true push: true
tags: | tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }} ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}