Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arne-vl authored May 13, 2024
1 parent c4debc6 commit 87e3446
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag chicken-price-api:$(date +%s)
docker tag chicken-price-api:$(date +%s) arnevl/chicken-price-api:latest
run: docker build . --file Dockerfile --tag arnevl/chicken-price-api:latest
- name: Log in to Docker Hub
run: docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push the Docker image to Docker Hub
Expand Down

0 comments on commit 87e3446

Please sign in to comment.