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