Skip to content

Commit

Permalink
workflows: proper tag name
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Mar 26, 2020
1 parent b2d781c commit e1902d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ jobs:
uses: actions/checkout@v2
- name: Prepare Environment
run: |
: "${tag:=${GITHUB_REF#refs/tags/}}"
cat <<.
::set-env name=CLAIR_VERSION::${GITHUB_REF}
::set-env name=PREFIX::clair-${GITHUB_REF}/
::set-env name=TAG::quay.io/projectquay/clair:${GITHUB_REF#v}
::set-env name=CLAIR_VERSION::${tag}
::set-env name=PREFIX::clair-${tag}/
::set-env name=TAG::quay.io/projectquay/clair:${tag#v}
::set-env name=QUAY_USER::projectquay+clair_github
::add-mask::${{ secrets.QUAY_TOKEN }}
.
Expand Down

0 comments on commit e1902d4

Please sign in to comment.