Skip to content

Commit

Permalink
disable image
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Jan 24, 2024
1 parent 8628eb9 commit a6e1e01
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
build:
uses: ./.github/workflows/build.yaml

build-and-push-wasm-images:
uses: ./.github/workflows/docker-build-push.yaml
with:
test: false
# build-and-push-wasm-images:
# uses: ./.github/workflows/docker-build-push.yaml
# with:
# test: false

release:
permissions:
Expand Down Expand Up @@ -49,36 +49,36 @@ jobs:
for f in ./_artifacts/*/*.tar.gz; do gh release upload ${{ env.RELEASE_VERSION }} $f; done
# Setup buildx to build multiarch image: https://github.com/docker/build-push-action/blob/master/docs/advanced/multi-platform.md
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: setup buildx
uses: docker/setup-buildx-action@v2
- name: login to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: setup buildx
# uses: docker/setup-buildx-action@v2
# - name: login to GitHub container registry
# uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}

# Build and push k3d shim image
- name: untar musl artifacts into ./deployments/k3d/.tmp/linux/(amd64|arm64) dir
run: |
mkdir -p ./deployments/k3d/.tmp/linux/amd64
mkdir -p ./deployments/k3d/.tmp/linux/arm64
for f in ./_artifacts/*/*-x86_64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/amd64; done
for f in ./_artifacts/*/*-aarch64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/arm64; done
- name: build and push k3d shim image
uses: docker/build-push-action@v5
with:
push: true
tags: |
ghcr.io/${{ github.repository }}/examples/k3d:${{ env.RELEASE_VERSION }}
ghcr.io/${{ github.repository }}/examples/k3d:latest
context: deployments/k3d
platforms: linux/amd64,linux/arm64
build-args: |
STAGE=release
- name: clear
if: always()
run: |
rm -f ${HOME}/.docker/config.json
# - name: untar musl artifacts into ./deployments/k3d/.tmp/linux/(amd64|arm64) dir
# run: |
# mkdir -p ./deployments/k3d/.tmp/linux/amd64
# mkdir -p ./deployments/k3d/.tmp/linux/arm64
# for f in ./_artifacts/*/*-x86_64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/amd64; done
# for f in ./_artifacts/*/*-aarch64.tar.gz; do tar -xf $f --directory ./deployments/k3d/.tmp/linux/arm64; done
# - name: build and push k3d shim image
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: |
# ghcr.io/${{ github.repository }}/examples/k3d:${{ env.RELEASE_VERSION }}
# ghcr.io/${{ github.repository }}/examples/k3d:latest
# context: deployments/k3d
# platforms: linux/amd64,linux/arm64
# build-args: |
# STAGE=release
# - name: clear
# if: always()
# run: |
# rm -f ${HOME}/.docker/config.json

0 comments on commit a6e1e01

Please sign in to comment.