Skip to content

Commit ff2019f

Browse files
authored
Merge pull request kosmos-io#764 from duanmengkk/feature_fix_ci
fix ci for release multi-platform images
2 parents 0100663 + 128d35f commit ff2019f

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/dev_images.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ jobs:
1212
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15-
- name: Set up qemu
16-
uses: docker/setup-qemu-action@v2
15+
- name: install Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
19+
- name: install QEMU
20+
uses: docker/setup-qemu-action@v3
21+
- name: install Buildx
22+
uses: docker/setup-buildx-action@v3
1723
- name: Login registry
1824
run: |
1925
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

.github/workflows/release_images.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ jobs:
1212
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
15-
- name: Set up qemu
16-
uses: docker/setup-qemu-action@v2
15+
- name: install Go
16+
uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
19+
- name: install QEMU
20+
uses: docker/setup-qemu-action@v3
21+
- name: install Buildx
22+
uses: docker/setup-buildx-action@v3
1723
- name: Login registry
1824
run: |
1925
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

0 commit comments

Comments
 (0)