fix: wrong secret name

This commit is contained in:
Xyphuz 2022-05-29 16:11:17 +08:00
parent 60ff997f2c
commit a87100e0dc

View file

@ -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