From 9944a93dfa673d7d6e100ac5e8f1df061337aba5 Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 22 May 2022 00:02:59 +0200 Subject: [PATCH] let's try that again --- .github/workflows/docker.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 2ac5c48..e9f513e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -11,9 +11,6 @@ on: jobs: publish_api: runs-on: ubuntu-latest - strategy: - matrix: - architecture: [linux/amd64, linux/arm64] steps: - name: Checkout uses: actions/checkout@v2 @@ -35,15 +32,12 @@ jobs: uses: docker/build-push-action@v3 with: context: ./api - platforms: ${{ matrix.architecture }} + platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:api-${{ matrix.architecture }} + tags: ghcr.io/janderedev/automod:api publish_web: runs-on: ubuntu-latest - strategy: - matrix: - architecture: [linux/amd64, linux/arm64] steps: - name: Checkout uses: actions/checkout@v2 @@ -65,15 +59,12 @@ jobs: uses: docker/build-push-action@v3 with: context: ./web - platforms: ${{ matrix.architecture }} + platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:web-${{ matrix.architecture }} + tags: ghcr.io/janderedev/automod:web publish_bridge: runs-on: ubuntu-latest - strategy: - matrix: - architecture: [linux/amd64, linux/arm64] steps: - name: Checkout uses: actions/checkout@v2 @@ -95,15 +86,12 @@ jobs: uses: docker/build-push-action@v3 with: context: ./bridge - platforms: ${{ matrix.architecture }} + platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:bridge-${{ matrix.architecture }} + tags: ghcr.io/janderedev/automod:bridge publish_bot: runs-on: ubuntu-latest - strategy: - matrix: - architecture: [linux/amd64, linux/arm64] steps: - name: Checkout uses: actions/checkout@v2 @@ -125,6 +113,6 @@ jobs: uses: docker/build-push-action@v3 with: context: ./bot - platforms: ${{ matrix.architecture }} + platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/janderedev/automod:bot-${{ matrix.architecture }} \ No newline at end of file + tags: ghcr.io/janderedev/automod:bot \ No newline at end of file