mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 20:52:12 -05:00
fix vars
This commit is contained in:
parent
f25d3b55c5
commit
6350d91800
2 changed files with 20 additions and 21 deletions
2
.github/workflows/deploy-DEV.yml
vendored
2
.github/workflows/deploy-DEV.yml
vendored
|
@ -59,7 +59,7 @@ jobs:
|
|||
password: ${{ secrets.GCR_TOKEN }}
|
||||
registry: ghcr.io
|
||||
image_name: github/super-linter
|
||||
image_tag: "${GITHUB_SHA}"
|
||||
image_tag: ${GITHUB_SHA}
|
||||
dockerfile: Dockerfile
|
||||
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||
env:
|
||||
|
|
39
.github/workflows/deploy-PROD.yml
vendored
39
.github/workflows/deploy-PROD.yml
vendored
|
@ -43,28 +43,27 @@ jobs:
|
|||
# Run Deploy script #
|
||||
#####################
|
||||
- name: Deploy latest image to DockerHub
|
||||
env:
|
||||
# Set the Env Vars
|
||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
IMAGE_REPO: github/super-linter
|
||||
IMAGE_VERSION: latest
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
REGISTRY: Docker
|
||||
shell: bash
|
||||
run: .automation/upload-docker.sh
|
||||
uses: whoan/docker-build-with-cache-action@v5
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
image_name: github/super-linter
|
||||
image_tag: "latest,v3"
|
||||
dockerfile: Dockerfile
|
||||
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||
push_image_and_stages: true
|
||||
|
||||
#############################
|
||||
# Run Deploy script for GPR #
|
||||
#############################
|
||||
- name: Deploy Latest image to GitHub Container Registry
|
||||
env:
|
||||
# Set the Env Vars
|
||||
GCR_USERNAME: ${{ secrets.GCR_USERNAME }}
|
||||
GCR_TOKEN: ${{ secrets.GCR_TOKEN }}
|
||||
IMAGE_REPO: github/super-linter
|
||||
IMAGE_VERSION: latest
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
REGISTRY: GCR
|
||||
shell: bash
|
||||
run: .automation/upload-docker.sh
|
||||
uses: whoan/docker-build-with-cache-action@v5
|
||||
with:
|
||||
username: ${{ secrets.GCR_USERNAME }}
|
||||
password: ${{ secrets.GCR_TOKEN }}
|
||||
registry: ghcr.io
|
||||
image_name: github/super-linter
|
||||
image_tag: "latest,v3"
|
||||
dockerfile: Dockerfile
|
||||
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||
push_image_and_stages: true
|
||||
|
|
Loading…
Reference in a new issue