mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-22 14:48:07 +00:00
Publish to the aquasec org on Docker Hub (#805)
* Publish to the aquasec org on Docker Hub * chore: remove spaces
This commit is contained in:
parent
5ae42ebd82
commit
a96ffc2e16
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@ -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:
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user