We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d65c8 commit 105529cCopy full SHA for 105529c
.github/workflows/cd-docker-hub.yml
@@ -47,12 +47,15 @@ jobs:
47
uses: docker/metadata-action@v4
48
with:
49
images: ${{ env.DOCKER_IMAGE }}
50
+ tags: |
51
+ type=semver,pattern={{version}}
52
+ latest
53
54
- name: Build and push image to Docker Hub
55
uses: docker/build-push-action@v3
56
57
context: .
58
push: true
59
platforms: ${{ env.PLATFORMS }}
- tags: ${{ env.DOCKER_IMAGE }}:latest
60
+ tags: ${{ steps.meta.outputs.tags }}
61
labels: ${{ steps.meta.outputs.labels }}
0 commit comments