Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
Signed-off-by: ozkanonur <[email protected]>
  • Loading branch information
onur-ozkan committed Aug 21, 2023
1 parent fbeabd1 commit 9ef736c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: docker build --no-cache -t ozkanonur/package-search-api:latest -f .container/Containerfile .

- name: Push the container image
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/stable'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
run: |
docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} docker.io
docker push ozkanonur/package-search-api:latest

0 comments on commit 9ef736c

Please sign in to comment.