Skip to content

Commit

Permalink
update release branch upload images for mutil-platform
Browse files Browse the repository at this point in the history
Signed-off-by: gaoyuan <[email protected]>
  • Loading branch information
gao12312 committed Jan 2, 2025
1 parent 97c791a commit b0b5fe2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dev_release_images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Upload Images
on:
push:
branches:
- "release_v*.*.*"
jobs:
images:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- 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
- name: Set version from branch
run: echo "VERSION=$(echo ${GITHUB_REF##*/})" >> $GITHUB_ENV
- name: Push images
env:
ON_PLUGINS: true
run: |
make multi-platform-images VERSION=${{ env.VERSION }}

0 comments on commit b0b5fe2

Please sign in to comment.