Skip to content
Snippets Groups Projects
Unverified Commit a96ffc2e authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

Publish to the aquasec org on Docker Hub (#805)

* Publish to the aquasec org on Docker Hub

* chore: remove spaces
parent 5ae42ebd
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ on: ...@@ -7,6 +7,7 @@ on:
- "v*" - "v*"
env: env:
ALIAS: aquasecurity ALIAS: aquasecurity
DOCKERHUB_ALIAS: aquasec
REP: kube-bench REP: kube-bench
jobs: jobs:
publish: publish:
...@@ -55,9 +56,9 @@ jobs: ...@@ -55,9 +56,9 @@ jobs:
builder: ${{ steps.buildx.outputs.name }} builder: ${{ steps.buildx.outputs.name }}
push: true push: true
tags: | 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 }} 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 public.ecr.aws/${{ env.ALIAS }}/${{ env.REP }}:latest
cache-from: type=local,src=/tmp/.buildx-cache/release cache-from: type=local,src=/tmp/.buildx-cache/release
cache-to: type=local,mode=max,dest=/tmp/.buildx-cache/release cache-to: type=local,mode=max,dest=/tmp/.buildx-cache/release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment