mirror of https://github.com/docker/docs.git
Merge pull request #12512 from markgoho/patch-1
fix username for tagged image in github actions
This commit is contained in:
commit
5032901ee9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue