Skip to content

Commit

Permalink
fix github.ref slug issue
Browse files Browse the repository at this point in the history
Signed-off-by: Trishank Karthik Kuppusamy <[email protected]>
  • Loading branch information
trishankatdatadog committed Jun 5, 2020
1 parent 6d43cdd commit 88d7b1b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Build and push RELEASE and LATEST Docker images
- name: Inject slug/short variables
uses: rlespinasse/[email protected]

- name: Build and push master/tag and latest Docker images
uses: docker/[email protected]
if: ${{ github.event_name == 'push' || github.event_name == 'release' }}
with:
repository: cnabio/signy-in-toto-verifier
tags: ${{ github.ref}}, latest
tags: ${{ env.GITHUB_REF_SLUG }}, latest
dockerfile: in-toto-container.Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit 88d7b1b

Please sign in to comment.