Update cicd
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 26s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 26s
This commit is contained in:
parent
5086f2d281
commit
6959a2e33e
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -3,6 +3,9 @@ name: Build and Push to Registry
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
types: [closed]
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.4nkweb.com
|
REGISTRY: git.4nkweb.com
|
||||||
@ -11,6 +14,7 @@ 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user