Skip to content

fix(ci): use Docker buildx test #48

fix(ci): use Docker buildx test

fix(ci): use Docker buildx test #48

Workflow file for this run

name: Release
on:
push:
branches: [master]
env:
CI: true
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: Set up QEMU
id: docker-qemu
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: docker-buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
- name: Release
env:
GIT_USERNAME: ${{ vars.GIT_USERNAME }}
GIT_EMAIL: ${{ vars.GIT_EMAIL }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GPG_KEY_ID: ${{ vars.GPG_KEY_ID }}
GPG_KEY: ${{ secrets.GPG_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
DOCKER_HUB_USERNAME: ${{ vars.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PAT: ${{ secrets.DOCKER_HUB_PAT }}
DOCKER_BUILDX_NAME: ${{ steps.docker-buildx.outputs.name }}
shell: bash
run: |
bash ./release.sh --plugins=npm,npm-post,git,github-release,docker --pre-release