Merge pull request #12512 from markgoho/patch-1

fix username for tagged image in github actions
This commit is contained in:
Usha Mandya 2021-03-19 09:30:37 +00:00 committed by GitHub
commit 5032901ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ Now, we can add the steps required. The first one checks-out our repository unde
context: ./
file: ./Dockerfile
push: true
tags: ushamandya/simplewhale:latest
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/simplewhale:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
@ -153,7 +153,7 @@ Using the cache we set up earlier for it to store to and to retrieve
file: ./Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ushamandya/simplewhale:latest
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/simplewhale:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
- name: Image digest