Skip to content

Commit

Permalink
feat(CICD): push docker image to the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
panpuchkov committed Dec 23, 2023
1 parent ca7a83c commit 2629bf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 2629bf2

Please sign in to comment.