|
|
|
@ -76,6 +76,11 @@ jobs:
|
|
|
|
|
${{ env.SEMVER }},pattern={{major}}.{{minor}}
|
|
|
|
|
${{ env.SEMVER }},pattern={{major}}
|
|
|
|
|
|
|
|
|
|
- name: Enable building from source
|
|
|
|
|
id: info
|
|
|
|
|
if: ${{ github.event.ref == 'refs/heads/master' }}
|
|
|
|
|
run: echo '::set-output name=build_from_branch::master'
|
|
|
|
|
|
|
|
|
|
- name: Login to GHCR
|
|
|
|
|
if: env.SHOULD_PUBLISH
|
|
|
|
|
uses: docker/login-action@v2
|
|
|
|
@ -93,6 +98,7 @@ jobs:
|
|
|
|
|
build-args: |
|
|
|
|
|
REPOSITORY=${{ github.repository }}
|
|
|
|
|
${{ env.VERSION && format('RELEASE_TAG={0}', env.VERSION) }}
|
|
|
|
|
BUILD_FROM_BRANCH=${{ steps.info.outputs.build_from_branch }}
|
|
|
|
|
platforms: linux/arm/v7,linux/arm64,linux/amd64
|
|
|
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
|
|
|