mirror of https://github.com/statping/statping
docker push on release
parent
045bcefe1e
commit
20c496a89c
|
@ -456,6 +456,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: binaries
|
name: binaries
|
||||||
path: binaries
|
path: binaries
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: docker-images
|
||||||
|
path: images
|
||||||
- uses: ncipollo/release-action@v1
|
- uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
|
@ -466,6 +470,9 @@ jobs:
|
||||||
omitBodyDuringUpdate: true
|
omitBodyDuringUpdate: true
|
||||||
prerelease: ${{ needs.data.outputs.is_prerelease == 'true' && 'true' || ''}}
|
prerelease: ${{ needs.data.outputs.is_prerelease == 'true' && 'true' || ''}}
|
||||||
updateOnlyUnreleased: true
|
updateOnlyUnreleased: true
|
||||||
|
- name: import images
|
||||||
# TODO push docker image(s)
|
run: for file in images/*.tar; do docker load < $file; done
|
||||||
|
- run: docker image ls
|
||||||
|
- name: push all images
|
||||||
|
run: for image in $(cat images/docker-images.txt); do echo pushing $image; docker push $image; done
|
||||||
# TODO bring back dockerhub image
|
# TODO bring back dockerhub image
|
||||||
|
|
Loading…
Reference in New Issue