Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Jan 10, 2025
1 parent d21afa0 commit a92729e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
id-token: 'write'
packages: 'write'
steps:
- name: Verify job
if: ${{ !(startsWith(github.ref, format('refs/tags/{0}', matrix.image)) || github.ref == 'refs/heads/main') }}
run: exit 0
- name: Checkout
uses: actions/checkout@v4
- name: Docker meta
Expand Down Expand Up @@ -48,8 +51,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
context: "images/${{ matrix.image }}/."
file: "images/${{ matrix.image }}/Dockerfile"
context: "images/${{ matrix.image }}"
file: "Dockerfile"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit a92729e

Please sign in to comment.