Skip to content

Commit

Permalink
Merge pull request #36 from mjanez/latest
Browse files Browse the repository at this point in the history
Update main (stable) branch
  • Loading branch information
mjanez authored Sep 15, 2023
2 parents a2ca0e3 + 9b5b4ee commit 2f151ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: docker-push
with:
push: false
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH }}
labels: |
${{ steps.meta.outputs.labels }}
org.opencontainers.image.documentation=https://github.com/${{ github.repository }}/blob/${{ env.BRANCH }}/README.md
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
matrix:
include:
- image: ghcr.io/${{ github.repository }}
tag: ghcr.io/${{ github.repository }}:${{ github.head_ref }}
dockerfile: ./ckan-pycsw/Dockerfile
steps:
- name: Set up QEMU
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ matrix.tag }}
labels: |
${{ steps.meta.outputs.labels }}
org.opencontainers.image.documentation=https://github.com/${{ github.repository }}/blob/${{ env.BRANCH }}/README.md
Expand All @@ -65,12 +66,12 @@ jobs:
- name: Linting Dockerfile with hadolint in GH Actions
uses: hadolint/[email protected]
with:
dockerfile: ${{ env.CONTEXT }}${{ env.DOCKERFILE_PATH }}/${{ env.DOCKERFILE }}
dockerfile: ${{ matrix.dockerfile }}

- name: Run Trivy container image vulnerability scanner
uses: aquasecurity/[email protected]
with:
image-ref: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH }}
image-ref: ${{ matrix.tag }}
format: sarif
output: trivy-results.sarif

Expand Down

0 comments on commit 2f151ee

Please sign in to comment.