Skip to content

Commit

Permalink
ID-4197: laste ned redis-lib korrekt i pipeline ved bygging av image
Browse files Browse the repository at this point in the history
  • Loading branch information
oyri committed May 8, 2024
1 parent f508bfe commit 259f176
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/call-buildimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4

- name: Build the tagged Docker image
run: docker build --tag ${{env.IMAGE_NAME}}:${{env.IMAGETAG}} --file docker/Dockerfile .
run: docker build --tag ${{env.IMAGE_NAME}}:${{env.IMAGETAG}} --file docker/Dockerfile --build-arg GIT_PACKAGE_TOKEN=${{GITHUB_TOKEN}} .

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55 # pin@v0.19.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-maventests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: echo "IMAGETAG=$(date +'%Y-%m-%d-%H%M')-${GITHUB_SHA::8}" >> "$GITHUB_ENV"
- uses: actions/checkout@v4
- name: Build the tagged Docker image
run: docker build --tag ${{ env.IMAGE_NAME}}:${{env.IMAGETAG}} --file docker/Dockerfile .
run: docker build --tag ${{ env.IMAGE_NAME}}:${{env.IMAGETAG}} --file docker/Dockerfile --build-arg GIT_PACKAGE_TOKEN=${{GITHUB_TOKEN}} .
- uses: anchore/sbom-action@v0
with:
image: ${{ env.IMAGE_NAME}}:${{env.IMAGETAG}}
Expand Down

0 comments on commit 259f176

Please sign in to comment.