Compare commits
3 Commits
90f63bc6ed
...
18dba7f7a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 18dba7f7a2 | |||
| 62306ea6a6 | |||
| ac6efceede |
@@ -1,13 +1,13 @@
|
|||||||
name: Build And Publish Production Image
|
name: Build And Publish Production Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_review:
|
push:
|
||||||
types: [submitted]
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build And Publish Production Image
|
name: Build And Publish Production Image
|
||||||
if: github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'main'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
REGISTRY: gitea.lab
|
REGISTRY: gitea.lab
|
||||||
@@ -16,7 +16,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
github-server-url: http://gitea.lab
|
github-server-url: http://gitea.lab
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
|
||||||
|
|
||||||
- name: Verify Docker CLI
|
- name: Verify Docker CLI
|
||||||
run: docker version
|
run: docker version
|
||||||
|
|||||||
Reference in New Issue
Block a user