From 146e6391d09959d7b885162c3509ab2c69d23bc8 Mon Sep 17 00:00:00 2001 From: Alw3ys Date: Fri, 15 Mar 2024 07:43:04 +0100 Subject: [PATCH] no arm for now --- .github/workflows/docker-ci.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml index 508b9f8..bdfeedf 100644 --- a/.github/workflows/docker-ci.yml +++ b/.github/workflows/docker-ci.yml @@ -56,8 +56,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub + uses: docker/login-action@v3 with: - platforms: linux/amd64,linux/arm64 + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Docker Build uses: docker/build-push-action@v5 @@ -65,15 +69,9 @@ jobs: context: . push: false tags: doseiai/dosei - platforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + load: true - name: Docker Push if: github.event_name == 'push' && github.ref == 'refs/heads/main' @@ -95,4 +93,4 @@ jobs: tags: | doseiai/dosei doseiai/dosei:${{ github.ref_name }} - cache-from: type=gha + cache-from: type=gha \ No newline at end of file