mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 10:41:04 -05:00
fixed the var
This commit is contained in:
parent
beaa2de473
commit
b8608095da
1 changed files with 2 additions and 9 deletions
11
.github/workflows/deploy-RELEASE.yml
vendored
11
.github/workflows/deploy-RELEASE.yml
vendored
|
@ -37,13 +37,6 @@ jobs:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
##########################
|
|
||||||
# Get the Relase version #
|
|
||||||
##########################
|
|
||||||
- name: Extract Release Version
|
|
||||||
shell: bash
|
|
||||||
run: echo "::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF/refs\/tags\//})"
|
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
# Run Deploy script for Dockerhub #
|
# Run Deploy script for Dockerhub #
|
||||||
###################################
|
###################################
|
||||||
|
@ -53,7 +46,7 @@ jobs:
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
IMAGE_REPO: github/super-linter
|
IMAGE_REPO: github/super-linter
|
||||||
IMAGE_VERSION: ${RELEASE_VERSION}
|
IMAGE_VERSION: ${{ github.event.release.tag_name }}
|
||||||
DOCKERFILE_PATH: Dockerfile
|
DOCKERFILE_PATH: Dockerfile
|
||||||
REGISTRY: Docker
|
REGISTRY: Docker
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -68,7 +61,7 @@ jobs:
|
||||||
DOCKER_USERNAME: ${{ secrets.GPR_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.GPR_USERNAME }}
|
||||||
DOCKER_PASSWORD: ${{ secrets.GPR_PASSWORD }}
|
DOCKER_PASSWORD: ${{ secrets.GPR_PASSWORD }}
|
||||||
IMAGE_REPO: github/super-linter
|
IMAGE_REPO: github/super-linter
|
||||||
IMAGE_VERSION: ${RELEASE_VERSION}
|
IMAGE_VERSION: ${{ github.event.release.tag_name }}
|
||||||
DOCKERFILE_PATH: Dockerfile
|
DOCKERFILE_PATH: Dockerfile
|
||||||
REGISTRY: GPR
|
REGISTRY: GPR
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue