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: ./
|
context: ./
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ushamandya/simplewhale:latest
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/simplewhale:latest
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.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
|
file: ./Dockerfile
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
push: true
|
push: true
|
||||||
tags: ushamandya/simplewhale:latest
|
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/simplewhale:latest
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
|
|
Loading…
Reference in New Issue