Skip to content

Commit

Permalink
add output
Browse files Browse the repository at this point in the history
  • Loading branch information
dazz committed Aug 4, 2024
1 parent 9fe9ae5 commit fd44446
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-image-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ jobs:
- name: Check image tag exists
id: check_image
env:
LATEST_TAG: ${{needs.latest_version.outputs.tag}}
IMAGE: "hakindazz/s6-overlay-base"
TAG: ${{needs.latest_version.outputs.tag}}
run: |
IMAGE_NAME="hakindazz/s6-overlay-base"
docker pull "$IMAGE_NAME:$LATEST_TAG" &> /dev/null
if [ $? -eq 0 ]; then
if docker manifest inspect "$IMAGE:$TAG" > /dev/null 2>&1; then
echo "image_exists=true" >> $GITHUB_OUTPUT
echo "image_exists=true"
else
Expand Down

0 comments on commit fd44446

Please sign in to comment.