Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilongLee authored Jun 10, 2024
1 parent d3a60cd commit e9df1b6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,12 @@ jobs:

- name: Push the Docker image
run: docker push shilongli0101/crawler:latest

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Tag the Docker image for GitHub Container Registry
run: docker tag shilongli0101/crawler:latest ghcr.io/${{ github.repository_owner }}/crawler:latest

- name: Push the Docker image to GitHub Container Registry
run: docker push ghcr.io/${{ github.repository_owner }}/crawler:latest

0 comments on commit e9df1b6

Please sign in to comment.