Skip to content

Commit

Permalink
updated github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvAmBass committed Jul 5, 2024
1 parent eeb98ad commit d61f4b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
run: |
./get-version.sh $(echo "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:" | tr '[:upper:]' '[:lower:]') | sed 's/^/tag=/g' >> $GITHUB_OUTPUT
- name: Docker Version Tag and check if we need to build?
run: |
echo tag: ${{ steps.docker_version_tag.outputs.tag }} build needed: ${{ !endsWith(steps.docker_version_tag.outputs.tag, 'latest') }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image with tag
Expand Down

0 comments on commit d61f4b6

Please sign in to comment.