From 06bc7d247adf987400f63b076041a98bbd997ee5 Mon Sep 17 00:00:00 2001 From: David de Boer Date: Thu, 22 Aug 2024 14:30:36 +0200 Subject: [PATCH] build: Use sha output image --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e6df733..19c8765 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,8 @@ on: jobs: build: outputs: - image: ${{ steps.meta.outputs.tags }} + # Manually specify the output image because steps.meta.outputs.tags is an array that includes ‘latest’. + image: ghcr.io/${{ github.repository }}-${{ inputs.app }}:sha-${{ github.sha }} runs-on: ubuntu-latest permissions: packages: write