File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: alpine-nightly-master
33on :
44 schedule :
55 - cron : " 0 0 * * *"
6+ push :
7+ paths :
8+ - ' master/alpine/Dockerfile'
9+ - ' master/alpine/docker-entrypoint.sh'
610
711env :
812 REGISTRY_IMAGE : bitcoin/bitcoin
6569 VCS_REF=${{ github.sha }}
6670 outputs : type=image,push-by-digest=true,name-canonical=true
6771
72+ - name : Test bitcoind
73+ run : |
74+ docker run --rm --platform ${{ matrix.platform.docker }} ${{ steps.build.outputs.imageid }} bitcoind --version
75+
6876 - name : Export digest
6977 run : |
7078 mkdir -p ${{ runner.temp }}/digests
@@ -108,11 +116,17 @@ jobs:
108116 type=raw,value=${{ env.TAGS }}
109117
110118 - name : Create manifest list and push
119+ if : github.event_name == 'schedule'
111120 working-directory : ${{ runner.temp }}/digests
112121 run : |
113122 docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
114123 $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
115124
125+ - name : Test bitcoind (pulled image)
126+ if : github.event_name == 'schedule'
127+ run : |
128+ docker run --rm ${{ env.REGISTRY_IMAGE }}:${{ env.TAGS }} bitcoind --version
129+
116130 - name : Inspect image
117131 run : |
118132 docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: debian-nightly-master
33on :
44 schedule :
55 - cron : " 0 0 * * *"
6+ push :
7+ paths :
8+ - ' master/Dockerfile'
9+ - ' master/docker-entrypoint.sh'
610
711env :
812 REGISTRY_IMAGE : bitcoin/bitcoin
6569 VCS_REF=${{ github.sha }}
6670 outputs : type=image,push-by-digest=true,name-canonical=true
6771
72+ - name : Test bitcoind
73+ run : |
74+ docker run --rm --platform ${{ matrix.platform.docker }} ${{ steps.build.outputs.imageid }} bitcoind --version
75+
6876 - name : Export digest
6977 run : |
7078 mkdir -p ${{ runner.temp }}/digests
@@ -108,11 +116,17 @@ jobs:
108116 type=raw,value=${{ env.TAGS }}
109117
110118 - name : Create manifest list and push
119+ if : github.event_name == 'schedule'
111120 working-directory : ${{ runner.temp }}/digests
112121 run : |
113122 docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
114123 $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
115124
125+ - name : Test bitcoind (pulled image)
126+ if : github.event_name == 'schedule'
127+ run : |
128+ docker run --rm ${{ env.REGISTRY_IMAGE }}:${{ env.TAGS }} bitcoind --version
129+
116130 - name : Inspect image
117131 run : |
118132 docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
You can’t perform that action at this time.
0 commit comments