From 285eb3450d19024cb2957d54321ea02fbea42ca8 Mon Sep 17 00:00:00 2001 From: Yurii Puchkov Date: Sat, 23 Dec 2023 16:28:45 -0700 Subject: [PATCH] feat(CICD): push docker image to the registry --- .github/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4d25ab7..6ef6b69 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: Docker Build Image & Push (CICDv2) +name: Docker Build & Push permissions: write-all 'on': push: @@ -53,4 +53,5 @@ jobs: shell: bash run: | set -x - echo "TODO" + IMAGE_NAME_WITH_VERSION="${{ env.IMAGE_NAME }}:latest" + docker push "${IMAGE_NAME_WITH_VERSION}"