From 6105dc642bf2076380de3a4250fadaf1db218c92 Mon Sep 17 00:00:00 2001 From: jayesh Date: Sat, 13 Jan 2024 16:30:38 -0600 Subject: [PATCH] Updated auto build step --- .github/workflows/build-publish-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-publish-image.yml b/.github/workflows/build-publish-image.yml index 3d4baad..f27317a 100644 --- a/.github/workflows/build-publish-image.yml +++ b/.github/workflows/build-publish-image.yml @@ -13,5 +13,5 @@ jobs: - name: Build and push Docker image run: | docker login --username scadaguru --password ${{ secrets.GHCR_TOKEN }} ghcr.io - docker build . -t ghcr.io/scadaguru/test-auto-docker-build:v0.0.1 - docker push ghcr.io/scadaguru/test-auto-docker-build:v0.0.1 + docker build . -t ghcr.io/scadaguru/test-auto-docker-build:${{ github.ref }} -t ghcr.io/scadaguru/test-auto-docker-build + docker push ghcr.io/scadaguru/test-auto-docker-build