Skip to content

Commit ce4ad75

Browse files
authored
Merge pull request moby#3708 from crazy-max/hack-remove-first-pass
hack: remove build_ci_first_pass script
2 parents 43e00c7 + e4ff5e2 commit ce4ad75

File tree

3 files changed

+12
-32
lines changed

3 files changed

+12
-32
lines changed

.github/workflows/.test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,12 @@ jobs:
9090
});
9191
-
9292
name: Build
93-
run: |
94-
./hack/build_ci_first_pass integration-tests
95-
env:
96-
CACHE_FROM: type=gha,scope=${{ inputs.cache_scope }}
97-
CACHE_TO: type=gha,scope=${{ inputs.cache_scope }}
93+
uses: docker/bake-action@v2
94+
with:
95+
targets: integration-tests-base
96+
set: |
97+
*.cache-from=type=gha,scope=${{ inputs.cache_scope }}
98+
*.cache-to=type=gha,scope=${{ inputs.cache_scope }}
9899
99100
run:
100101
runs-on: ubuntu-20.04

docker-bake.hcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ target "release" {
6868
output = [bindir("release")]
6969
}
7070

71+
target "integration-tests-base" {
72+
inherits = ["_common"]
73+
target = "integration-tests-base"
74+
output = ["type=cacheonly"]
75+
}
76+
7177
group "validate" {
7278
targets = ["lint", "validate-vendor", "validate-doctoc", "validate-generated-files", "validate-shfmt"]
7379
}

hack/build_ci_first_pass

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)