2525 issues : read
2626 packages : write
2727 pull-requests : read
28- runs-on :
29- - self-hosted
30- - pkgs
28+ runs-on : ubuntu-latest
3129 if : (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
3230 outputs :
3331 labels : ${{ steps.retrieve-pr-labels.outputs.result }}
@@ -43,23 +41,15 @@ jobs:
4341 steps :
4442 - name : checkout
4543 uses : actions/checkout@v4
46- - name : Unshallow
47- run : |
48- git fetch --prune --unshallow
44+ with :
45+ # need history for `git describe` to work for Talos `Makefile`
46+ fetch-depth : 0
47+ fetch-tags : true
4948 - name : Set up Docker Buildx
5049 uses : docker/setup-buildx-action@v3
51- with :
52- append : |
53- - endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234
54- platforms: linux/arm64
55- driver : remote
56- endpoint : tcp://localhost:1234
5750 - name : Build
5851 run : |
5952 make
60- - name : Build nonfree
61- run : |
62- make nonfree
6353 - name : Login to registry
6454 if : github.event_name != 'pull_request'
6555 uses : docker/login-action@v3
7363 USERNAME : ${{ github.repository_owner }}
7464 CI_ARGS : --provenance=true
7565 run : |
76- make PUSH=true
77- - name : Push nonfree
78- if : github.event_name != 'pull_request'
79- run : |
80- make nonfree PUSH=true
66+ make PUSH=true
8167 - name : Retrieve PR labels
8268 id : retrieve-pr-labels
8369 uses : actions/github-script@v7
9985 USERNAME : ${{ github.repository_owner }}
10086 PUSH : " true"
10187 run : |
102- curl -sL "https://github.com/google/go-containerregistry/releases/download/v0.18.0/go-containerregistry_Linux_x86_64.tar.gz" > go-containerregistry.tar.gz
103- tar -zxvf go-containerregistry.tar.gz -C /usr/local/bin/ crane
88+ curl -sL "https://github.com/google/go-containerregistry/releases/download/v0.19.0/go-containerregistry_Linux_x86_64.tar.gz" | tar -zxv -C /usr/local/bin/ crane
10489 make extensions
10590 - name : release-notes
10691 if : startsWith(github.ref, 'refs/tags/')
@@ -112,36 +97,3 @@ jobs:
11297 with :
11398 body_path : _out/RELEASE_NOTES.md
11499 draft : " true"
115- reproducibility :
116- runs-on :
117- - self-hosted
118- - pkgs
119- if : contains(fromJSON(needs.default.outputs.labels), 'integration/reproducibility')
120- needs :
121- - default
122- services :
123- buildkitd :
124- image : moby/buildkit:v0.12.5
125- options : --privileged
126- ports :
127- - 1234:1234
128- volumes :
129- - /var/lib/buildkit/${{ github.repository }}:/var/lib/buildkit
130- - /usr/etc/buildkit/buildkitd.toml:/etc/buildkit/buildkitd.toml
131- steps :
132- - name : checkout
133- uses : actions/checkout@v4
134- - name : Unshallow
135- run : |
136- git fetch --prune --unshallow
137- - name : Set up Docker Buildx
138- uses : docker/setup-buildx-action@v3
139- with :
140- append : |
141- - endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234
142- platforms: linux/arm64
143- driver : remote
144- endpoint : tcp://localhost:1234
145- - name : reproducibility-test
146- run : |
147- make reproducibility-test
0 commit comments