Source: .github/workflows/publish-portmaster-aarch64-el9-builder.yml · repository automation
Permissions#
Top-level: {"contents":"read","packages":"write"}. Undeclared means inherited from the caller, not "none needed".
Job dependency graph#
Edges are YAML needs; conditional jobs may not run. Conditions are listed below.
Read diagram source
flowchart TD
n_publish["publish"]
Jobs#
| Job | Needs | Runner / delegate | Container / strategy | Condition |
|---|---|---|---|---|
publish | ubuntu-latest / — | — / — | — |
Steps#
publish#
| Step | Action / command | Condition |
|---|---|---|
| — | actions/checkout@v6 | — |
| Log in to GHCR | docker/login-action@v3 | — |
| Generate Image Tags | SHORT_SHA="${SHA::12}" if [[ "$REF_TYPE" == tag ]]; then { echo 'tags<<EOF' echo "$IMAGE_NAME:$REF_NAME" echo "$IMAGE_NAME:sha-${SHORT_SHA}" echo 'EOF' } >> "$GITHUB_OUTPUT" exit 0 fi SAFE_REF="$(printf '%s' "$REF_NAME" | tr '/[:upper:]' '-[:lower:]' | tr -cd 'a-z0-9_.-')" { echo 'tags<<EOF' echo "$IMAGE_NAME:test-${SAFE_REF}" echo "$IMAGE_NAME:sha-${SHORT_SHA}" echo 'EOF' } >> "$GITHUB_OUTPUT" | — |
| Build and Push Image | docker/build-push-action@v6 | — |