From e05a259b353ceaab45dd58c6f84054f74aa57b59 Mon Sep 17 00:00:00 2001 From: Fmar Date: Sat, 20 Jan 2024 02:31:57 +0100 Subject: [PATCH] remove workflow, multiplatform only amd64 for now --- .../{multiplatform.yaml => build-docker.yaml} | 2 +- .github/workflows/workflow.yaml | 30 ------------------- 2 files changed, 1 insertion(+), 31 deletions(-) rename .github/workflows/{multiplatform.yaml => build-docker.yaml} (95%) delete mode 100644 .github/workflows/workflow.yaml diff --git a/.github/workflows/multiplatform.yaml b/.github/workflows/build-docker.yaml similarity index 95% rename from .github/workflows/multiplatform.yaml rename to .github/workflows/build-docker.yaml index d00708c2..a17edf96 100644 --- a/.github/workflows/multiplatform.yaml +++ b/.github/workflows/build-docker.yaml @@ -27,6 +27,6 @@ jobs: image: ${{ env.IMAGENAME }} registry: ${{ env.REGISTRY }} multiPlatform: true - platform: linux/amd64,linux/arm64 + platform: linux/amd64 username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml deleted file mode 100644 index cc81a349..00000000 --- a/.github/workflows/workflow.yaml +++ /dev/null @@ -1,30 +0,0 @@ -name: Linux Docker build -on: - push: - release: - types: [published] -jobs: - build: - env: - REGISTRY: ghcr.io - IMAGENAME: ${{ github.event.repository.name }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - name: Check out code - - name: Install Go - uses: actions/setup-go@v1 - with: - go-version: 1.21.x - - name: Checkout code - uses: actions/checkout@v2 - - name: Run tests - run: mkdir frontend/dist && touch frontend/dist/tmp && go test - - name: Docker build - uses: mr-smithers-excellent/docker-build-push@v6 - id: build - with: - image: ${{ env.IMAGENAME }} - registry: ${{ env.REGISTRY }} - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }}