kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Be more specific about tagged release builds
rodzic
9e914c140e
commit
b57b94c63a
|
@ -23,7 +23,7 @@ jobs:
|
|||
echo Ref ${{ github.ref }}
|
||||
echo c: ${{ github.event.workflow_run.conclusion }}
|
||||
echo r: ${{ github.event.workflow_run }}
|
||||
echo tname: ${{ github.event.release.tag_name }}
|
||||
echo tname: "${{ github.event.release.tag_name }}"
|
||||
set
|
||||
|
||||
build-push-containers:
|
||||
|
@ -97,7 +97,7 @@ jobs:
|
|||
# A new tagged release is required, which builds :tag
|
||||
- name: Build and push :tag
|
||||
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
|
||||
with:
|
||||
context: ./
|
||||
|
@ -110,7 +110,6 @@ jobs:
|
|||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
|
||||
- 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 }}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue