Skip to content

Commit

Permalink
fix retagger
Browse files Browse the repository at this point in the history
  • Loading branch information
steinerkelvin committed Feb 15, 2024
1 parent 188aaea commit 14e20ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-retag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
tag-docker-image:
permissions: write-all
runs-on: ubuntu-latest
env:
image_of_commit: $image_base:${{ steps.commit.outputs.short }}

steps:
- id: commit
uses: prompt/actions-commit-hash@v3

- name: Docker Login
uses: docker/[email protected]
with:
Expand All @@ -20,6 +22,8 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Checks if docker image is on registry
env:
image_of_commit: $image_base:${{ steps.commit.outputs.short }}
run: |
image_exists_check=$(docker manifest inspect "$image_of_commit" > /dev/null 2>&1; echo $?)
Expand Down

0 comments on commit 14e20ba

Please sign in to comment.