From f6ddafaf196538adda4a40857f4263b3738ff3c8 Mon Sep 17 00:00:00 2001 From: jaypan Date: Tue, 3 Sep 2024 17:06:25 +0200 Subject: [PATCH] Speed up for testing docker image name --- .github/workflows/pr-check.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index a073f9fc..0a7f3362 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -53,14 +53,13 @@ jobs: with: images: ${{ secrets.DOCKER_REG_PARACHAIN }}-test tags: | - type=ref,event=branch type=ref,event=pr - + type=sha - name: "Build and push" uses: docker/build-push-action@v3 with: context: . - file: scripts/Dockerfile + file: scripts/Dockerfile.parachain-launch push: true - tags: ${{ steps.meta.outputs.tags }} + tags: ${{github.head_ref}}-${{ steps.meta.outputs.tags }}