build: use needs-updating condition
This commit is contained in:
parent
bb3a21caa6
commit
665fefe1d8
@ -28,17 +28,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
base-image: roundcube/roundcubemail:latest-apache
|
base-image: roundcube/roundcubemail:latest-apache
|
||||||
image: zeguigui/roundcubemail:latest-apache
|
image: zeguigui/roundcubemail:latest-apache
|
||||||
- name: Needs updating
|
|
||||||
run: echo "Needs updating ${{ steps.checkupdate.outputs.needs-updating }}"
|
|
||||||
- name: Set up docker buildx
|
- name: Set up docker buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: |
|
driver-opts: |
|
||||||
network=giteanet
|
network=giteanet
|
||||||
|
if: steps.checkupdate.outputs.needs-updating == 'true'
|
||||||
- name: Build and push version
|
- name: Build and push version
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
env:
|
env:
|
||||||
ACTIONS_RUNTIME_TOKEN: ''
|
ACTIONS_RUNTIME_TOKEN: ''
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: zeguigui/roundcubemail:latest-apache
|
tags: zeguigui/roundcubemail:latest-apache
|
||||||
|
if: steps.checkupdate.outputs.needs-updating == 'true'
|
||||||
|
Loading…
Reference in New Issue
Block a user