From e218e6f1a0a37de4c2a2bb09a72354601832cade Mon Sep 17 00:00:00 2001 From: Travis Shivers Date: Thu, 10 Sep 2020 12:28:47 -0500 Subject: [PATCH] ci(ci): tag image with sha --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6f9938a..d7f140f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: run: | DOCKER_IMAGE=${{ github.event.repository.full_name }} - TAGS="${DOCKER_IMAGE}:edge" + TAGS="${DOCKER_IMAGE}:${{ github.sha }}" echo ::set-output name=tags::${TAGS} echo ::set-output name=docker_image::${DOCKER_IMAGE} @@ -90,7 +90,7 @@ jobs: run: | DOCKER_IMAGE=ttshivers/syncloungeweb - TAGS="${DOCKER_IMAGE}:edge" + TAGS="${DOCKER_IMAGE}:${{ github.sha }}" echo ::set-output name=tags::${TAGS} echo ::set-output name=docker_image::${DOCKER_IMAGE}