Skip to content

Commit

Permalink
ci: change ci to push to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
alipourhabibi committed Dec 15, 2023
1 parent 4202656 commit 3832ed8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

-
name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: alipourhabibi/http-downloader:latest
push: true
tags: ghcr.io/alipourhabibi/http-downloader:latest

0 comments on commit 3832ed8

Please sign in to comment.