From de2eec743856116b1340bb4e98e46f39c84f91c3 Mon Sep 17 00:00:00 2001 From: Michael Pisman Date: Wed, 28 Jun 2023 00:47:31 -0700 Subject: [PATCH] Closes #45 --- .github/workflows/docker.yaml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index ca2fff7..cc951bf 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -6,21 +6,25 @@ jobs: docker: runs-on: arc-runner-k8s steps: - - - name: Set up QEMU + - name: Set up QEMU uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx + - name: Set up Docker Context for Buildx + id: buildx-context + run: | + docker context create builders + - name: Set up Docker Buildx + id: buildx uses: docker/setup-buildx-action@v2 - - - name: Login to Docker Hub + with: + version: latest + endpoint: builders + - name: Login to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v4 with: push: true - tags: user/api:latest \ No newline at end of file + tags: unipoll/api:latest \ No newline at end of file