2222 security-events : write
2323 steps :
2424 - name : Checkout ${{ github.repository }}
25- 25+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2626 with :
2727 persist-credentials : false
2828 - name : Install uv
3434 - name : Install pre-commit
3535 run : |
3636 uv sync --locked --only-dev
37- -
uses :
mschoettle/[email protected] 37+ - uses : mschoettle/pre-commit-action@0ffaba63d7e205c4109d6a3ca4ced5fc4decd04b # v4.2.3
3838 env :
3939 SKIP : markdownlint-cli2
4040 - name : Run markdownlint
6666 contents : read
6767 packages : write
6868 steps :
69- 69+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
7070 with :
7171 persist-credentials : false
7272 lfs : true
@@ -75,25 +75,25 @@ jobs:
7575 fetch-depth : 0
7676
7777 - name : Login to GitHub Container Registry
78- 78+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
7979 if : github.event_name != 'pull_request'
8080 with :
8181 registry : ${{ env.REGISTRY }}
8282 username : ${{ github.actor }}
8383 password : ${{ secrets.GITHUB_TOKEN }}
8484 - name : Set up Docker Buildx
85- 85+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8686 - name : Validate build configuration
87- 87+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
8888 with :
8989 call : check
9090 - name : Extract metadata (tags, labels) for Docker
9191 id : meta
92- 92+ uses : docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
9393 with :
9494 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
9595 - name : Build Docker image
96- 96+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
9797 with :
9898 # use path context to make .git available in build
9999 # https://github.com/docker/build-push-action?tab=readme-ov-file#git-context
@@ -111,7 +111,7 @@ jobs:
111111 TAGS : ${{ steps.meta.outputs.tags }}
112112 run : docker run --rm "${TAGS}" --version
113113 - name : Push Docker image
114- 114+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
115115 with :
116116 # use path context to make .git available in build
117117 # https://github.com/docker/build-push-action?tab=readme-ov-file#git-context
0 commit comments