Skip to content

Commit eeb6b8e

Browse files
committed
restore checks
1 parent 25239f6 commit eeb6b8e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,20 @@ jobs:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Setup Docker buildx
51+
if: steps.release.outputs.new_release_published == 'true'
5152
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
5253

5354
- name: Log in to the Container registry
5455
id: docker_login
56+
if: steps.release.outputs.new_release_published == 'true'
5557
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
5658
with:
5759
registry: ${{ env.REGISTRY }}
5860
username: ${{ github.actor }}
5961
password: ${{ secrets.GITHUB_TOKEN }}
6062

6163
- name: Docker meta
64+
if: steps.release.outputs.new_release_published == 'true'
6265
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c # v5.5.0
6366
id: meta
6467
with:
@@ -75,6 +78,7 @@ jobs:
7578
org.opencontainers.image.source=https://github.com/${{ github.repository }}
7679

7780
- name: Build and push Docker image
81+
if: steps.release.outputs.new_release_published == 'true'
7882
id: docker_build_push
7983
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0
8084
with:

0 commit comments

Comments
 (0)