Re-enable the building process for linux/arm64 Docker image
This commit is contained in:
2
.ci.sh
2
.ci.sh
@@ -6,7 +6,7 @@ ASC_URL=https://keybase.io/nirui/pgp_keys.asc
|
||||
VERSION_VARIABLE=github.com/nirui/sshwifty/application.version
|
||||
BUILD_TARGETS="darwin/amd64 windows/386 windows/amd64 openbsd/386 openbsd/amd64 openbsd/arm openbsd/arm64 freebsd/386 freebsd/amd64 freebsd/arm freebsd/arm64 linux/386 linux/amd64 linux/arm linux/arm64 linux/riscv64 linux/ppc64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le"
|
||||
|
||||
DOCKER_BUILD_TARGETS="linux/amd64,linux/arm/v7"
|
||||
DOCKER_BUILD_TARGETS="linux/amd64,linux/arm/v7,linux/arm64"
|
||||
DOCKER_CLI_EXPERIMENTAL=enabled
|
||||
|
||||
SSHWIFTY_VERSION=$(git describe --always --dirty='*' --tag)
|
||||
|
||||
7
.github/workflows/workflow.yml
vendored
7
.github/workflows/workflow.yml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
CI:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checking out source code
|
||||
@@ -26,8 +26,9 @@ jobs:
|
||||
|
||||
export DOCKER_CUSTOM_COMMAND='echo "GitHub Action Build"'
|
||||
|
||||
sudo apt-get update -qq -y
|
||||
sudo apt-get install -qq -y qemu qemu-user-static binfmt-support
|
||||
sudo add-apt-repository -y ppa:jacob/virtualisation
|
||||
sudo apt-get update -y
|
||||
sudo apt-get install -y qemu qemu-user-static binfmt-support
|
||||
sudo systemctl restart docker
|
||||
|
||||
cp ./.ci.sh ./.github-action-ci-script.sh && chmod +x ./.github-action-ci-script.sh && time ./.github-action-ci-script.sh && rm ./.github-action-ci-script.sh
|
||||
|
||||
Reference in New Issue
Block a user