From 368082025b5571028ca17836a796db156798d509 Mon Sep 17 00:00:00 2001 From: Harry Bairstow Date: Tue, 1 Aug 2023 11:50:03 +0100 Subject: [PATCH] chore: change context value (#171) --- .github/workflows/auto_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto_deploy.yml b/.github/workflows/auto_deploy.yml index 6e4e549b..14ec6887 100644 --- a/.github/workflows/auto_deploy.yml +++ b/.github/workflows/auto_deploy.yml @@ -57,7 +57,7 @@ jobs: flavor: | latest=auto tags: | - type=raw,value=${{ github.ref_name }},suffix=${{ steps.suffix.outputs.suffix }} + type=raw,value=${{ github.sha }},suffix=${{ steps.suffix.outputs.suffix }} # Setup Buildkit - name: Set up Docker Buildx @@ -82,4 +82,4 @@ jobs: # call the cd.yml file with image tag as the commit hash uses: ./.github/workflows/cd.yml with: - image_tag: ${{ github.ref_name }} + image_tag: ${{ github.sha }}