Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,16 @@ jobs:
with:
persist-credentials: false
# actionlint checks syntax and expression types, and runs shellcheck on
# `run:` blocks. <pin-me>: replace with the image digest for
# rhysd/actionlint:1.7.7.
# `run:` blocks. Pinned by tag and multi-arch image digest; update both
# together when bumping.
- name: actionlint
run: |
docker run --rm -v "${GITHUB_WORKSPACE}:/repo" -w /repo \
rhysd/actionlint:1.7.7@sha256:<pin-me> -color
rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 -color
# zizmor audits the workflows for security issues (unpinned actions,
# template injection, persisted credentials). <pin-me>: replace with the
# commit SHA of the zizmorcore/zizmor-action release you adopt, with the
# tag in a comment.
# template injection, persisted credentials).
- name: zizmor
uses: zizmorcore/zizmor-action@<pin-me> # vX.Y.Z
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
with:
advanced-security: false # print findings; no SARIF upload

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,10 @@ on:
type: string
default: ''
dockerfile:
description: Path to the Dockerfile, relative to `context`.
description: Path to the Dockerfile, relative to the repo root (the build context).
required: false
type: string
default: ./Dockerfile
context:
description: Docker build context.
required: false
type: string
default: .
platforms:
description: buildx target platforms.
required: false
Expand Down Expand Up @@ -105,7 +100,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
with:
context: ${{ inputs.context }}
context: .
file: ${{ inputs.dockerfile }}
platforms: ${{ inputs.platforms }}
push: true
Expand Down
Loading