Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
adobromilskiy committed Oct 16, 2022
1 parent a11acae commit 682770b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
docker login --username ${{ secrets.DOCKERHUB_USER }} --password ${{ secrets.DOCKERHUB_PASSWD }}
docker push adobromilskiy/quake3-logcatcher:${{ github.ref_name }}
- name: build and push latest image
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
docker build -t adobromilskiy/quake3-logcatcher:latest .
docker login --username ${{ secrets.DOCKERHUB_USER }} --password ${{ secrets.DOCKERHUB_PASSWD }}
docker push adobromilskiy/quake3-logcatcher:latest
- name: build and push tagged image
if: github.event_name == 'push' && github.event.ref_type == 'tag'
run: |
Expand Down

0 comments on commit 682770b

Please sign in to comment.