commit
b469cbc50b
1 changed files with 4 additions and 7 deletions
11
.github/workflows/release-docker-image.yml
vendored
11
.github/workflows/release-docker-image.yml
vendored
|
@ -27,16 +27,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
|
||||||
|
|
||||||
- name: Echo Tag Version
|
|
||||||
run: echo ${{ steps.tag_version.outputs.VERSION }}
|
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:latest
|
${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:latest
|
||||||
${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:${{ steps.tag_version.outputs.VERSION }}
|
${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:${{ steps.tag_version.outputs.VERSION }}
|
||||||
cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:buildcache
|
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:buildcache
|
||||||
cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:buildcache,mode=max
|
cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:buildcache,mode=max
|
||||||
|
|
Loading…
Reference in a new issue