From 2629bf2e2f753dcad46c85c94f469a9ed29f3428 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..067ba55 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,11 +46,12 @@ jobs: - name: Log in to Docker Hub uses: docker/login-action@v3 with: - username: panpuchkov + username: ${{ env.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker Push shell: bash run: | set -x - echo "TODO" + IMAGE_NAME_WITH_VERSION="${{ env.IMAGE_NAME }}:latest" + docker push "${IMAGE_NAME_WITH_VERSION}"