1
0

edge docker release

This commit is contained in:
Zef Hemel 2023-07-24 15:01:39 +02:00
parent 10acd77244
commit d32761fe07

View File

@ -64,16 +64,12 @@ jobs:
${{ env.NAMESPACE_DOCKER }}/${{ env.IMAGE_NAME }} ${{ env.NAMESPACE_DOCKER }}/${{ env.IMAGE_NAME }}
ghcr.io/${{ env.NAMESPACE_GITHUB }}/${{ env.IMAGE_NAME }} ghcr.io/${{ env.NAMESPACE_GITHUB }}/${{ env.IMAGE_NAME }}
tags: | tags: |
# <https://github.com/docker/metadata-action#typeref> # When pushing a tag, release a tagged release :x.x.x
# minimal (short sha), enable f desired
# type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=short
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
#
# tag w/ full tag part of git tag: <https://github.com/docker/metadata-action#typesemver>
# only present for `on.push.tags` !
type=semver,pattern={{raw}},enable=true type=semver,pattern={{raw}},enable=true
# type=edge,branch=develop # usually this would be the develop branch # When pushing a tag (type=semver) push to :latest too
type=semver,value=latest
# When pushing to main branch, release as :edge
type=edge,branch=main
- name: Build and push main docker images - name: Build and push main docker images
uses: docker/build-push-action@v4.0.0 uses: docker/build-push-action@v4.0.0