mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
parent
83badbc49c
commit
c0a3b959cf
2 changed files with 26 additions and 4 deletions
11
.github/workflows/deploy-PROD.yml
vendored
11
.github/workflows/deploy-PROD.yml
vendored
|
@ -99,6 +99,17 @@ jobs:
|
|||
github/super-linter:latest
|
||||
ghcr.io/github/super-linter:latest
|
||||
|
||||
###########################
|
||||
# Clean the docker daemon #
|
||||
###########################
|
||||
- name: Docker cleanup
|
||||
run: |
|
||||
docker images -f dangling=true | \
|
||||
tr '[:upper:]' '[:lower:]' | \
|
||||
awk '{print $3}' | \
|
||||
xargs docker rmi -f
|
||||
exit 0
|
||||
|
||||
###########################################
|
||||
# Build and Push containers to registries #
|
||||
###########################################
|
||||
|
|
19
.github/workflows/deploy-RELEASE.yml
vendored
19
.github/workflows/deploy-RELEASE.yml
vendored
|
@ -138,12 +138,23 @@ jobs:
|
|||
push: true
|
||||
tags: |
|
||||
github/super-linter:latest
|
||||
github/super-linter:v3
|
||||
github/super-linter:v4
|
||||
github/super-linter:${{ env.RELEASE_VERSION }}
|
||||
ghcr.io/github/super-linter:latest
|
||||
ghcr.io/github/super-linter:v3
|
||||
ghcr.io/github/super-linter:v4
|
||||
ghcr.io/github/super-linter:${{ env.RELEASE_VERSION }}
|
||||
|
||||
###########################
|
||||
# Clean the docker daemon #
|
||||
###########################
|
||||
- name: Docker cleanup
|
||||
run: |
|
||||
docker images -f dangling=true | \
|
||||
tr '[:upper:]' '[:lower:]' | \
|
||||
awk '{print $3}' | \
|
||||
xargs docker rmi -f
|
||||
exit 0
|
||||
|
||||
###########################################
|
||||
# Build and Push containers to registries #
|
||||
###########################################
|
||||
|
@ -159,10 +170,10 @@ jobs:
|
|||
push: true
|
||||
tags: |
|
||||
github/super-linter:slim-latest
|
||||
github/super-linter:slim-v3
|
||||
github/super-linter:slim-v4
|
||||
github/super-linter:slim-${{ env.RELEASE_VERSION }}
|
||||
ghcr.io/github/super-linter:slim-latest
|
||||
ghcr.io/github/super-linter:slim-v3
|
||||
ghcr.io/github/super-linter:slim-v4
|
||||
ghcr.io/github/super-linter:slim-${{ env.RELEASE_VERSION }}
|
||||
|
||||
########################
|
||||
|
|
Loading…
Reference in a new issue