Skip to content

Commit

Permalink
Fix deploy tag (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
uittenbroekrobbert authored Jun 24, 2024
2 parents f20743b + 744ed0d commit e9754ce
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} #TODO(berry): fix on git labels multiple tags
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index

Expand All @@ -179,7 +179,6 @@ jobs:
echo "annotations: ${{ steps.meta.outputs.annotations }}"
echo "hash: ${{ steps.get_commit_hash.outputs.commit_hash }}"
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down Expand Up @@ -254,9 +253,11 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
images: "" # make empty to get the correct tag

- name: print metadata
run: |
echo "tags: ${{ steps.meta.outputs.tags }}"
- name: Trigger deployment
run: |
Expand Down

0 comments on commit e9754ce

Please sign in to comment.