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