Skip to content

Commit

Permalink
Merge pull request kosmos-io#764 from duanmengkk/feature_fix_ci
Browse files Browse the repository at this point in the history
fix ci for release multi-platform images
  • Loading branch information
duanmengkk authored Nov 13, 2024
2 parents 0100663 + 128d35f commit ff2019f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/dev_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
- name: install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: install QEMU
uses: docker/setup-qemu-action@v3
- name: install Buildx
uses: docker/setup-buildx-action@v3
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/release_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
- name: install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: install QEMU
uses: docker/setup-qemu-action@v3
- name: install Buildx
uses: docker/setup-buildx-action@v3
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
Expand Down

0 comments on commit ff2019f

Please sign in to comment.