Skip to content

Commit

Permalink
Worflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vpet98 committed Jun 12, 2024
1 parent 3644f61 commit 022734f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
SHORT_SHA: ${{ github.sha::8 }}
SHORT_SHA: ${GITHUB_SHA::8}

jobs:
build-and-push-image:
Expand Down Expand Up @@ -47,11 +47,9 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
env:
TAGS: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ./Dockerfile

- name: Post build info
run: |
echo "Docker image published successfully to GHCR with tags: $TAGS"
echo "Docker image published successfully to GHCR with tags: ${{ steps.meta.outputs.tags }}"

0 comments on commit 022734f

Please sign in to comment.