Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rbourgeat/statisfaction
Browse files Browse the repository at this point in the history
  • Loading branch information
rbourgeat committed Nov 15, 2024
2 parents f9057a0 + 99b809d commit 8367122
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to Docker
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Build Docker image
run: |
docker build -t ${{ github.repository }}:latest .
docker build -t ghcr.io/${{ github.repository }}:latest .
- name: Push Docker image to GitHub Docker Registry
- name: Push Docker image to GitHub Container Registry
run: |
docker push ${{ github.repository }}:latest
docker push ghcr.io/${{ github.repository }}:latest

0 comments on commit 8367122

Please sign in to comment.