diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 96dddf2cf..7aff5f698 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -48,7 +48,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build Aspects Docker Images run: | - tutor images build ${{ matrix.service.name }} --cache-to-registry -d '--tag=${{ matrix.service.repository }}:latest' + tutor images build ${{ matrix.service.name }} - name: Push docker image continue-on-error: true if: github.event.action == 'opened' || github.event.action == 'synchronize' @@ -58,5 +58,6 @@ jobs: continue-on-error: true if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'bot/v') run: | + tutor images build ${{ matrix.service.name }} --cache-to-registry -d '--tag=${{ matrix.service.repository }}:latest' tutor images push ${{ matrix.service.name }} docker image push ${{ matrix.service.repository }}:latest