Skip to content

Commit

Permalink
Fixing packaging step in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdksh committed Feb 27, 2024
1 parent 990193f commit d94e43a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,17 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
- name: Login to Docker Hub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5.1.0
with:
context: .
push: true
tags: ghcr.io/mhmdksh/astro-backend:latest
tags: eddsnx3/astro-backend:latest

deploy:
needs: publish
Expand Down

0 comments on commit d94e43a

Please sign in to comment.