We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1af0b commit 2a332e2Copy full SHA for 2a332e2
.github/workflows/dockerimage.yml
@@ -69,12 +69,14 @@ jobs:
69
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
70
with:
71
images: ghcr.io/keinenclue/sasm-docker
72
- tags: type=ref,event=tag
+ tags: type=semver,pattern={{version}},value=${{ steps.previoustag.outputs.tag }}
73
+ flavor: |
74
+ latest=true
75
- - name: Build and push Docker image with past tag
- uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
76
+ - name: Build and push Docker image
77
+ uses: docker/build-push-action@v2
78
79
context: .
80
push: true
- tags: ${{ steps.previoustag.outputs.tag }}
81
+ tags: ${{ steps.meta.outputs.tags }}
82
labels: ${{ steps.meta.outputs.labels }}
0 commit comments