Skip to content

Commit

Permalink
readd the tag specification
Browse files Browse the repository at this point in the history
snyk requires the tag field to be set. Future updates will allow snyk scan to work with the tags field also.
  • Loading branch information
Kim Fehrs authored and dawidsowardx committed Aug 23, 2023
1 parent 11e94ae commit c0714c1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ jobs:
tag: ${{ steps.setup_tags.outputs.tag }}
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c


- name: Setup tags for docker image
id: setup_tags
run: echo "tag=sha-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Use Node.js
uses: actions/setup-node@7c29869aec4da703a571b27bcd84d4f15af0b56e
with:
Expand Down Expand Up @@ -126,9 +130,8 @@ jobs:
image_registry: "docker.io"
image_organization: "radixdlt"
image_name: "private-radix-dapp-toolkit"
tag: ${{ needs.build.outputs.tag }}
tags: |
type=sha,event=branch
type=sha,event=pr
type=semver,pattern={{version}}
context: "./"
dockerfile: "./Dockerfile"
Expand Down

0 comments on commit c0714c1

Please sign in to comment.