Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
ci(docker): use GitHub token & vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhpy committed Jul 5, 2024
1 parent 8ae76c3 commit cc956f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/pterodactyl/panel
images: ghcr.io/${{ github.repository }}
flavor: |
latest=false
tags: |
Expand All @@ -45,8 +45,8 @@ jobs:
if: "github.event_name != 'pull_request'"
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Update version
if: "github.event_name == 'release' && github.event.action == 'published'"
Expand Down

0 comments on commit cc956f5

Please sign in to comment.