diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 799bf64..65e3d6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,8 +31,8 @@ jobs: service docker start service docker status - # - name: Set up Docker Buildx - # uses: docker/setup-buildx-action@v1 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 # - name: Get Gitea Tags # id: get_tags @@ -46,14 +46,9 @@ 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 Docker image - run: docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test . - - - name: Push Docker image - run: docker push git.coopgo.io/coopgo-platform/mobility-accounts:test \ No newline at end of file + - 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" \ No newline at end of file