ci: only push regular and debug targets
This commit is contained in:
2
.github/workflows/check.yaml
vendored
2
.github/workflows/check.yaml
vendored
@@ -359,4 +359,4 @@ jobs:
|
||||
uses: docker/bake-action@v1
|
||||
with:
|
||||
targets: gha
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
set: gha-push.output=type=image,push=${{ github.event_name != 'pull_request' }}
|
||||
|
||||
@@ -35,12 +35,15 @@ target "gha-base" {
|
||||
cache-to = ["type=gha,mode=max"]
|
||||
}
|
||||
|
||||
// This is filled by GitHub Actions
|
||||
target "gha-push" {}
|
||||
|
||||
target "gha-regular" {
|
||||
inherits = ["gha-base", "docker-metadata-action"]
|
||||
inherits = ["gha-base", "gha-push", "docker-metadata-action"]
|
||||
}
|
||||
|
||||
target "gha-debug" {
|
||||
inherits = ["gha-base", "debug", "docker-metadata-action-debug"]
|
||||
inherits = ["gha-base", "gha-push", "debug", "docker-metadata-action-debug"]
|
||||
}
|
||||
|
||||
target "gha-test" {
|
||||
|
||||
Reference in New Issue
Block a user