mirror of
https://github.com/super-linter/super-linter.git
synced 2025-01-10 22:01:30 -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 }}
|
password: ${{ secrets.GCR_TOKEN }}
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
image_name: github/super-linter
|
image_name: github/super-linter
|
||||||
image_tag: "${GITHUB_SHA}"
|
image_tag: ${GITHUB_SHA}
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||||
env:
|
env:
|
||||||
|
|
39
.github/workflows/deploy-PROD.yml
vendored
39
.github/workflows/deploy-PROD.yml
vendored
|
@ -43,28 +43,27 @@ jobs:
|
||||||
# Run Deploy script #
|
# Run Deploy script #
|
||||||
#####################
|
#####################
|
||||||
- name: Deploy latest image to DockerHub
|
- name: Deploy latest image to DockerHub
|
||||||
env:
|
uses: whoan/docker-build-with-cache-action@v5
|
||||||
# Set the Env Vars
|
with:
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
IMAGE_REPO: github/super-linter
|
image_name: github/super-linter
|
||||||
IMAGE_VERSION: latest
|
image_tag: "latest,v3"
|
||||||
DOCKERFILE_PATH: Dockerfile
|
dockerfile: Dockerfile
|
||||||
REGISTRY: Docker
|
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||||
shell: bash
|
push_image_and_stages: true
|
||||||
run: .automation/upload-docker.sh
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
# Run Deploy script for GPR #
|
# Run Deploy script for GPR #
|
||||||
#############################
|
#############################
|
||||||
- name: Deploy Latest image to GitHub Container Registry
|
- name: Deploy Latest image to GitHub Container Registry
|
||||||
env:
|
uses: whoan/docker-build-with-cache-action@v5
|
||||||
# Set the Env Vars
|
with:
|
||||||
GCR_USERNAME: ${{ secrets.GCR_USERNAME }}
|
username: ${{ secrets.GCR_USERNAME }}
|
||||||
GCR_TOKEN: ${{ secrets.GCR_TOKEN }}
|
password: ${{ secrets.GCR_TOKEN }}
|
||||||
IMAGE_REPO: github/super-linter
|
registry: ghcr.io
|
||||||
IMAGE_VERSION: latest
|
image_name: github/super-linter
|
||||||
DOCKERFILE_PATH: Dockerfile
|
image_tag: "latest,v3"
|
||||||
REGISTRY: GCR
|
dockerfile: Dockerfile
|
||||||
shell: bash
|
build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA}"
|
||||||
run: .automation/upload-docker.sh
|
push_image_and_stages: true
|
||||||
|
|
Loading…
Reference in a new issue