diff --git a/.gitea/workflows/arm64.yaml b/.gitea/workflows/linux_arm64.yaml similarity index 100% rename from .gitea/workflows/arm64.yaml rename to .gitea/workflows/linux_arm64.yaml diff --git a/.gitea/workflows/linux_arm64_docker.yaml b/.gitea/workflows/linux_arm64_docker.yaml new file mode 100644 index 0000000..4282b39 --- /dev/null +++ b/.gitea/workflows/linux_arm64_docker.yaml @@ -0,0 +1,26 @@ +name: Build Docker Linux ARM64 + +on: + push: + branches: + - main + +jobs: + build-docker-linux-x64: + runs-on: [self-hosted, linux, arm64, docker] + steps: + - name: Install packages + run: apk add --no-cache git curl wget unzip bash nodejs npm docker + + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build Linux ARM64 Docker Image + run: | + docker buildx build \ + --platform linux/arm64 \ + -t myapp:linux-arm64 \ + --load ./CouchLog/CouchLog.sln diff --git a/.gitea/workflows/linux_x64_docker.yaml b/.gitea/workflows/linux_x64_docker.yaml index 2a28823..6491705 100644 --- a/.gitea/workflows/linux_x64_docker.yaml +++ b/.gitea/workflows/linux_x64_docker.yaml @@ -10,7 +10,7 @@ jobs: runs-on: [self-hosted, linux, arm64, linux64-docker, docker] steps: - name: Install packages - run: apk add --no-cache git curl wget unzip bash nodejs npm + run: apk add --no-cache git curl wget unzip bash nodejs npm docker - name: Checkout uses: actions/checkout@v4