Skip to content

Commit

Permalink
[CI] public docker change commit tag to version
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdittrich92 committed Nov 20, 2024
1 parent 9c5fcb6 commit 0a6ff61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/public_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@7ca345011ac4304463197fac0e56eab1bc7e6af0
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@115662203e5f4c9b240a57397f721baaab82a488
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Build Docker image
id: build
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a
uses: docker/build-push-action@v6
with:
context: .
build-args: |
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Push Docker image
# Push only if the CI is not triggered by "PR on main"
if: ${{ (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || (startsWith(github.ref, 'refs/tags') && github.event_name == 'push') }}
uses: docker/build-push-action@5e99dacf67635c4f273e532b9266ddb609b3025a
uses: docker/build-push-action@v6
with:
context: .
build-args: |
Expand Down

0 comments on commit 0a6ff61

Please sign in to comment.