Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Formartha/ai1899
Browse files Browse the repository at this point in the history
  • Loading branch information
Formartha committed Mar 5, 2024
2 parents 0de25a1 + 33adbbc commit 7d9a60a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:

- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag formartha/ai1899:${{ steps.git_sha.outputs.sha }} --compress
docker build . --file Dockerfile --tag formartha/ai1899:${{ steps.git_sha.outputs.sha }} --tag formartha/ai1899:latest --compress
- name: Log into Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Push Docker image to Docker Hub
run: |
docker tag formartha/ai1899:${{ steps.git_sha.outputs.sha }} formartha/ai1899:latest
docker push formartha/ai1899:${{ steps.git_sha.outputs.sha }}
docker push formartha/ai1899:latest

0 comments on commit 7d9a60a

Please sign in to comment.