Skip to content

Commit

Permalink
Merge pull request #763 from duanmengkk/fix_release_v0.5.4
Browse files Browse the repository at this point in the history
cherry-pick: fix ci for release multi-platform images
  • Loading branch information
duanmengkk authored Nov 13, 2024
2 parents 52aaff6 + b732609 commit 0ed58f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/dev_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- 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 to DockerHub
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images
env:
ON_PLUGINS: true
Expand Down
18 changes: 13 additions & 5 deletions .github/workflows/release_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up qemu
uses: docker/setup-qemu-action@v2
- name: Login registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- 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 to DockerHub
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images
env:
ON_PLUGINS: true
Expand Down

0 comments on commit 0ed58f7

Please sign in to comment.