Skip to content

Commit

Permalink
try to override the version label
Browse files Browse the repository at this point in the history
  • Loading branch information
abtreece committed May 9, 2024
1 parent 4241a76 commit fd20f00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
labels: |
org.opencontainers.image.version=latest
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -47,7 +49,7 @@ jobs:
with:
context: .
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
labels: latest
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
run: |
Expand Down Expand Up @@ -80,6 +82,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
labels: |
org.opencontainers.image.version=latest
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit fd20f00

Please sign in to comment.