diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a8b1596..848523f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,6 @@ on: jobs: build_and_push: runs-on: ubuntu-latest - container: - image: ghcr.io/catthehacker/ubuntu:act-latest - - services: - my_docker: - image: ghcr.io/catthehacker/ubuntu:act-latest - ports: - - 2367:2367 steps: - name: Checkout repository @@ -51,9 +43,18 @@ jobs: # run: | # echo "Latest tag found: ${{ steps.get_tags.outputs.latest_tag }}" - - name: Build and push Docker image - uses: docker/build-push-action@v2 - with: - context: "{{defaultContext}}" - push: true - tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test" + # - name: Build and push Docker image + # uses: docker/build-push-action@v2 + # with: + # context: "{{defaultContext}}" + # push: true + # tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test" + - name: Build and Push Docker Image + run: | + docker buildx build \ + --platform linux/amd64,linux/arm64 \ + --build-arg ACCESS_TOKEN_USR=ncaron\ + --build-arg ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d \ + --tag git.coopgo.io/coopgo-platform/mobility-accounts:test \ + --push . + working-directory: /work \ No newline at end of file