Use semver
Some checks failed
Build and Push Docker Image / prepare (push) Failing after 1m1s

This commit is contained in:
Florian Hoss 2024-10-31 10:13:40 +01:00
parent f900497d48
commit e8c58c10d4
Signed by: flohoss
GPG key ID: 3F35C7F6E6F66F6B

View file

@ -19,10 +19,7 @@ jobs:
with:
images: git.unjx.de/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
labels: |
org.opencontainers.image.title=GoDash
org.opencontainers.image.description=Blasing fast start page for your services
@ -36,10 +33,11 @@ jobs:
- name: Build
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ steps.meta.outputs.tags }}
build-args: |
V_GOLANG=${{ vars.V_GOLANG }}
V_NODE=${{ vars.V_NODE }}
V_ALPINE=${{ vars.V_ALPINE }}
- name: Push
run: docker push ${{ env.LATEST_IMAGE }}
run: docker push ${{ steps.meta.outputs.tags }}