-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update-plugin-links-v0.179.0
- Loading branch information
Showing
4 changed files
with
124 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Re-tag latest version | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "Version to re-tag" | ||
required: true | ||
|
||
jobs: | ||
Update-images: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Login to docker.io registry | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.ARGON_DOCKERHUB_USER }} | ||
password: ${{ secrets.ARGON_DOCKERHUB_TOKEN }} | ||
- name: Change image versions to latest | ||
run: | | ||
docker pull aquasec/aqua-scanner:${{ inputs.version }}-amd64 | ||
docker tag aquasec/aqua-scanner:${{ inputs.version }}-amd64 aquasec/aqua-scanner:latest-amd64 | ||
docker push aquasec/aqua-scanner:latest-amd64 | ||
docker pull aquasec/aqua-scanner:${{ inputs.version }}-arm64 | ||
docker tag aquasec/aqua-scanner:${{ inputs.version }}-arm64 aquasec/aqua-scanner:latest-arm64 | ||
docker push aquasec/aqua-scanner:latest-arm64 | ||
docker pull aquasec/aqua-scanner:${{ inputs.version }}-amd64-limited | ||
docker tag aquasec/aqua-scanner:${{ inputs.version }}-amd64-limited aquasec/aqua-scanner:latest-amd64-limited | ||
docker push aquasec/aqua-scanner:latest-amd64-limited | ||
docker pull aquasec/aqua-scanner:${{ inputs.version }}-arm64-limited | ||
docker tag aquasec/aqua-scanner:${{ inputs.version }}-arm64-limited aquasec/aqua-scanner:latest-arm64-limited | ||
docker push aquasec/aqua-scanner:latest-arm64-limited | ||
docker manifest create aquasec/aqua-scanner:latest aquasec/aqua-scanner:latest-amd64 aquasec/aqua-scanner:latest-arm64 | ||
docker manifest push aquasec/aqua-scanner:latest | ||
docker manifest create aquasec/aqua-scanner:latest-limited aquasec/aqua-scanner:latest-amd64-limited aquasec/aqua-scanner:latest-arm64-limited | ||
docker manifest push aquasec/aqua-scanner:latest-limited |
Oops, something went wrong.