mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
ci(docker): only mark tagged versions as latest
This commit is contained in:
2
.github/workflows/docker.yaml
vendored
2
.github/workflows/docker.yaml
vendored
@@ -39,7 +39,6 @@ jobs:
|
||||
echo platforms="$(jq -c 'first(.target[]) | .platforms' <<< "$METADATA")"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
env:
|
||||
LATEST: '1' # TODO: unset this variable when releasing the first stable version
|
||||
SHA: ${{github.sha}}
|
||||
VERSION: ${{github.ref_type == 'tag' && github.ref_name || github.sha}}
|
||||
build:
|
||||
@@ -100,7 +99,6 @@ jobs:
|
||||
*.cache-to=type=gha,scope=${{github.ref}}-${{matrix.platform}}
|
||||
${{fromJson(needs.prepare.outputs.push) && '*.output=type=image,name=dunglas/frankenphp,push-by-digest=true,name-canonical=true,push=true' || ''}}
|
||||
env:
|
||||
LATEST: '1' # TODO: unset this variable when releasing the first stable version
|
||||
SHA: ${{github.sha}}
|
||||
VERSION: ${{github.ref_type == 'tag' && github.ref_name || github.sha}}
|
||||
-
|
||||
|
||||
Reference in New Issue
Block a user