|
|
@ -23,7 +23,7 @@ jobs:
|
|
|
|
echo Ref ${{ github.ref }}
|
|
|
|
echo Ref ${{ github.ref }}
|
|
|
|
echo c: ${{ github.event.workflow_run.conclusion }}
|
|
|
|
echo c: ${{ github.event.workflow_run.conclusion }}
|
|
|
|
echo r: ${{ github.event.workflow_run }}
|
|
|
|
echo r: ${{ github.event.workflow_run }}
|
|
|
|
echo tname: ${{ github.event.release.tag_name }}
|
|
|
|
echo tname: "${{ github.event.release.tag_name }}"
|
|
|
|
set
|
|
|
|
set
|
|
|
|
|
|
|
|
|
|
|
|
build-push-containers:
|
|
|
|
build-push-containers:
|
|
|
@ -97,7 +97,7 @@ jobs:
|
|
|
|
# A new tagged release is required, which builds :tag
|
|
|
|
# A new tagged release is required, which builds :tag
|
|
|
|
- name: Build and push :tag
|
|
|
|
- name: Build and push :tag
|
|
|
|
id: docker_build_tag_release
|
|
|
|
id: docker_build_tag_release
|
|
|
|
if: ${{ github.event.release.tag_name }} != ''
|
|
|
|
if: github.event_name == 'release' && startsWith(github.event.release.tag_name, '0.')
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
context: ./
|
|
|
|
context: ./
|
|
|
@ -110,7 +110,6 @@ jobs:
|
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache
|
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Image digest
|
|
|
|
- name: Image digest
|
|
|
|
run: echo step SHA ${{ steps.vars.outputs.sha_short }} tag ${{steps.vars.outputs.tag}} branch ${{steps.vars.outputs.branch}} digest ${{ steps.docker_build.outputs.digest }}
|
|
|
|
run: echo step SHA ${{ steps.vars.outputs.sha_short }} tag ${{steps.vars.outputs.tag}} branch ${{steps.vars.outputs.branch}} digest ${{ steps.docker_build.outputs.digest }}
|
|
|
|
|
|
|
|
|
|
|
|