Skip to content

Commit d4f3dc7

Browse files
committed
[ci] disable edge-runtime builds, pin to last successful image
1 parent e93bb05 commit d4f3dc7

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5,53 +5,7 @@ on:
55
tags:
66
- v**
77
jobs:
8-
build-edge-runtime:
9-
strategy:
10-
matrix:
11-
include:
12-
- runner: depot-ubuntu-22.04-16,dagger=0.19.10
13-
arch: amd64
14-
- runner: depot-ubuntu-22.04-arm-16,dagger=0.19.10
15-
arch: arm64
16-
runs-on: ${{ matrix.runner }}
17-
steps:
18-
- uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
21-
- name: Setup Go
22-
uses: actions/setup-go@v5
23-
with:
24-
go-version: ">=1.24"
25-
- name: Build and publish edge-runtime (${{ matrix.arch }})
26-
env:
27-
APOXY_INTERNAL_GAR_CREDENTIALS: ${{ secrets.APOXY_INTERNAL_GAR_CREDENTIALS }}
28-
SCCACHE_WEBDAV_TOKEN: ${{ secrets.SCCACHE_WEBDAV_TOKEN }}
29-
SHUTUP: 1
30-
timeout-minutes: 30
31-
run: |
32-
dagger call -v publish-edge-runtime --sha=${GITHUB_SHA::7} --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS --sccache-token=env:SCCACHE_WEBDAV_TOKEN
33-
34-
publish-edge-runtime-multiarch:
35-
needs: build-edge-runtime
36-
runs-on: depot-ubuntu-22.04,dagger=0.19.10
37-
steps:
38-
- uses: actions/checkout@v4
39-
with:
40-
fetch-depth: 0
41-
- name: Setup Go
42-
uses: actions/setup-go@v5
43-
with:
44-
go-version: ">=1.24"
45-
- name: Create edge-runtime multi-arch manifest
46-
env:
47-
APOXY_INTERNAL_GAR_CREDENTIALS: ${{ secrets.APOXY_INTERNAL_GAR_CREDENTIALS }}
48-
SHUTUP: 1
49-
timeout-minutes: 5
50-
run: |
51-
dagger call -v publish-edge-runtime-multiarch --sha=${GITHUB_SHA::7} --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS
52-
538
publish-images:
54-
needs: publish-edge-runtime-multiarch
559
runs-on: depot-ubuntu-22.04-32,dagger=0.19.10
5610
steps:
5711
- uses: actions/checkout@v4
@@ -68,7 +22,7 @@ jobs:
6822
SHUTUP: 1
6923
timeout-minutes: 30
7024
run: |
71-
dagger call -v publish-images --src=. --tag=$GITHUB_REF_NAME --sha=${GITHUB_SHA::7} --registry-password=env:APOXY_DOCKERHUB_PASSWORD --edge-runtime-tag=${GITHUB_SHA::7} --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS
25+
dagger call -v publish-images --src=. --tag=$GITHUB_REF_NAME --sha=${GITHUB_SHA::7} --registry-password=env:APOXY_DOCKERHUB_PASSWORD --edge-runtime-tag=a5e7d79 --gcr-creds=env:APOXY_INTERNAL_GAR_CREDENTIALS
7226
7327
publish-github-release:
7428
needs: publish-images

0 commit comments

Comments
 (0)