Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguirra authored Mar 21, 2024
1 parent ca50651 commit e216da0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
DOCKER_URL_IMAGE_TO_PUSH: ${{secrets.DOCKER_URL_IMAGE_TO_PUSH}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_URL_IMAGE_TO_PUSH}}
run: docker build . --file Dockerfile --tag $DOCKER_URL_IMAGE_TO_PUSH
- name: Docker Push
run: docker push ${{secrets.DOCKER_URL_IMAGE_TO_PUSH}}
run: docker push $DOCKER_URL_IMAGE_TO_PUSH

0 comments on commit e216da0

Please sign in to comment.