Skip to content

Commit 2a332e2

Browse files
committed
small change, maybe this works
1 parent df1af0b commit 2a332e2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/dockerimage.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ jobs:
6969
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
7070
with:
7171
images: ghcr.io/keinenclue/sasm-docker
72-
tags: type=ref,event=tag
72+
tags: type=semver,pattern={{version}},value=${{ steps.previoustag.outputs.tag }}
73+
flavor: |
74+
latest=true
7375
74-
- name: Build and push Docker image with past tag
75-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
76+
- name: Build and push Docker image
77+
uses: docker/build-push-action@v2
7678
with:
7779
context: .
7880
push: true
79-
tags: ${{ steps.previoustag.outputs.tag }}
81+
tags: ${{ steps.meta.outputs.tags }}
8082
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)