Add "dev" tagged image
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 36s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 36s
This commit is contained in:
parent
e8cb97b6c6
commit
02f1cbb885
@ -2,10 +2,7 @@ name: Build and Push to Registry
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
types: [closed]
|
||||
branches: [ main ]
|
||||
branches: [ dev ]
|
||||
|
||||
env:
|
||||
REGISTRY: git.4nkweb.com
|
||||
@ -14,7 +11,6 @@ env:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.merged == true || github.event_name == 'push'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
@ -36,4 +32,5 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:dev
|
||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.sha }}
|
Loading…
x
Reference in New Issue
Block a user