diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8ff1cdd27f..ce1e0f0c9b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -83,6 +83,17 @@ jobs: run: sh scripts/build.sh - name: Verify Bundle Size run: cd client && ./node_modules/.bin/bundlesize --enable-github-checks + # Debugging + - name: Build, Tag, Push (Debug) + uses: docker/build-push-action@v5 + if: github.ref == 'refs/heads/fix/build-tag-push' + with: + push: true + tags: ${{ env.IMAGE_REPOSITORY }}:debug-test + build-args: | + REVISION_HASH=${GITHUB_SHA} + cache-from: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-debug + cache-to: type=registry,ref=${{ env.IMAGE_CACHE_REPOSITORY }}:cache-debug # Build tag push the image after a merge to develop - name: Build, Tag, Push uses: docker/build-push-action@v4