adopt github actions

This commit is contained in:
Christoph Haas 2023-10-26 11:29:34 +02:00
parent e5ed9736b3
commit 2f79dd04c0

View File

@ -7,7 +7,7 @@ name: Docker
on:
push:
branches: [ master ]
branches: [ master, stable ]
# Publish vX.X.X tags as releases.
tags: [ 'v*.*.*' ]
@ -115,13 +115,14 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=true
latest=false
prefix=
suffix=
tags: |
type=ref,event=branch
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern=v{{major}}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action