Skip to content

Commit

Permalink
Use repository_owner instead of organisation
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Aug 26, 2024
1 parent 9d8564f commit 4c708d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
CLIENT_APP_NAME: "render-ghcr-client"
DOCKER_REGISTRY: "ghcr.io"
# If you are in an organisation, use ${{ github.org }} instead of ${{ github.actor }}
DOCKER_REGISTRY_USERNAME: ${{ github.org }}
DOCKER_REGISTRY_USERNAME: ${{ github.repository_owner }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}

jobs:
Expand All @@ -38,13 +38,13 @@ jobs:

- name: (server) Extract metadata for Docker
id: meta-server
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_USERNAME }}/${{ env.SERVER_APP_NAME }}

- name: (client) Extract metadata for Docker
id: meta-client
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_USERNAME }}/${{ env.CLIENT_APP_NAME }}

Expand Down

0 comments on commit 4c708d3

Please sign in to comment.