mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 16:51:05 -05:00
fixed relase version
This commit is contained in:
parent
ca33d822cf
commit
beaa2de473
1 changed files with 9 additions and 2 deletions
11
.github/workflows/deploy-RELEASE.yml
vendored
11
.github/workflows/deploy-RELEASE.yml
vendored
|
@ -37,6 +37,13 @@ jobs:
|
|||
- name: Checkout Code
|
||||
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 #
|
||||
###################################
|
||||
|
@ -46,7 +53,7 @@ jobs:
|
|||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
||||
IMAGE_REPO: github/super-linter
|
||||
IMAGE_VERSION: ${{ github.ref }}
|
||||
IMAGE_VERSION: ${RELEASE_VERSION}
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
REGISTRY: Docker
|
||||
shell: bash
|
||||
|
@ -61,7 +68,7 @@ jobs:
|
|||
DOCKER_USERNAME: ${{ secrets.GPR_USERNAME }}
|
||||
DOCKER_PASSWORD: ${{ secrets.GPR_PASSWORD }}
|
||||
IMAGE_REPO: github/super-linter
|
||||
IMAGE_VERSION: ${{ github.ref }}
|
||||
IMAGE_VERSION: ${RELEASE_VERSION}
|
||||
DOCKERFILE_PATH: Dockerfile
|
||||
REGISTRY: GPR
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue