From 94501c38b09fb77fbb2ac3ecdb62c96e449bf4d0 Mon Sep 17 00:00:00 2001 From: Mark Goho Date: Thu, 18 Mar 2021 16:46:47 -0400 Subject: [PATCH] remove hard-coded image owner --- ci-cd/github-actions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci-cd/github-actions.md b/ci-cd/github-actions.md index 17d07810f5..c296a22a1e 100644 --- a/ci-cd/github-actions.md +++ b/ci-cd/github-actions.md @@ -98,7 +98,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 }} @@ -151,7 +151,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