Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuxd-X authored Oct 10, 2024
1 parent 6946308 commit 408df39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
name: Push Docker image to GitHub Container Registry
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -17,13 +17,13 @@ jobs:
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }} # Ensure you have this secret in your repository

- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/orrnobmahmud/blumauto:latest
docker push ghcr.io/orrnobmahmud/blumauto:latest
docker build . --tag ghcr.io/asish1346/blum:latest
docker push ghcr.io/asish1346/blum:latest

0 comments on commit 408df39

Please sign in to comment.