···
22
-
name: Build development environment
22
+
name: Build environment for GitLab CI/CD
···
quay.io/ajhalili2006/mkdocs-material-build-ci
type=raw,value=latest,enable={{is_default_branch}}
75
-
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=short
75
+
type=sha,enable=true,priority=100,prefix=commit-,suffix=,format=long
type=schedule,pattern=nightly
- uses: actions/checkout@v3
···
91
-
push: ${{ github.event_name != 'pull_request' }}
91
+
# workaround: https://github.com/moby/buildkit/issues/2713#issuecomment-1068540101
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-to: type=gha,mode=max
98
+
- name: Workaround pushbot for misbehaving reverse proxies
99
+
if: ${{ github.event_name != 'pull_request' }}
101
+
for each ${{ steps.meta.outputs.tags }} in tag;
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
···
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
119
+
name: Generate Gitpod workspace image snapshot