From a87100e0dc7e055bb06187906acc96851ab8bd23 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Sun, 29 May 2022 16:11:17 +0800 Subject: [PATCH] fix: wrong secret name --- .github/workflows/release-docker-image.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-docker-image.yml b/.github/workflows/release-docker-image.yml index cac4fd4..963580d 100644 --- a/.github/workflows/release-docker-image.yml +++ b/.github/workflows/release-docker-image.yml @@ -27,16 +27,13 @@ jobs: run: | 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 uses: docker/build-push-action@v3 with: push: true tags: | - ${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:latest - ${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:${{ steps.tag_version.outputs.VERSION }} - cache-from: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:buildcache - cache-to: type=registry,ref=${{ secrets.DOCKER_HUB_USERNAME }}/compose-viz:buildcache,mode=max + ${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:latest + ${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:${{ steps.tag_version.outputs.VERSION }} + cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:buildcache + cache-to: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/compose-viz:buildcache,mode=max