Skip to content

Commit

Permalink
fix: ci username
Browse files Browse the repository at this point in the history
  • Loading branch information
Benricheson101 committed Oct 29, 2024
1 parent b725725 commit 00452e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
with:
images: |
ghcr.io/${{github.actor}}/${{github.event.repository.name}}
ghcr.io/${{github.repository_owner}}/${{github.event.repository.name}}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand All @@ -38,7 +38,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: ${{matrix.dockerfile}}
file: ./Dockerfile
push: true
tags: ${{steps.meta.outputs.tags}}
labels: ${{steps.meta.outputs.labels}}

0 comments on commit 00452e9

Please sign in to comment.