From a96ffc2e1642a84bb689c75d5962a0f4ef4748ca Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Thu, 21 Jan 2021 10:22:28 +0000 Subject: [PATCH] Publish to the aquasec org on Docker Hub (#805) * Publish to the aquasec org on Docker Hub * chore: remove spaces --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f54e4af..3faa98e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,7 @@ on: - "v*" env: ALIAS: aquasecurity + DOCKERHUB_ALIAS: aquasec REP: kube-bench jobs: publish: @@ -55,9 +56,9 @@ jobs: builder: ${{ steps.buildx.outputs.name }} push: true tags: | - ${{ secrets.DOCKERHUB_USER }}/${{ env.REP }}:${{ steps.get_version.outputs.version }} + ${{ secrets.DOCKERHUB_ALIAS }}/${{ env.REP }}:${{ steps.get_version.outputs.version }} public.ecr.aws/${{ env.ALIAS }}/${{ env.REP }}:${{ steps.get_version.outputs.version }} - ${{ secrets.DOCKERHUB_USER }}/${{ env.REP }}:latest + ${{ secrets.DOCKERHUB_ALIAS }}/${{ env.REP }}:latest public.ecr.aws/${{ env.ALIAS }}/${{ env.REP }}:latest cache-from: type=local,src=/tmp/.buildx-cache/release cache-to: type=local,mode=max,dest=/tmp/.buildx-cache/release