ci(docker): use GitHub token & vars

This commit is contained in:
Danny Harpigny 2024-07-05 03:37:18 +02:00
parent 1d8b383682
commit 412a0cbde1
No known key found for this signature in database
GPG Key ID: 7139FBBEA22D1CEC

View File

@ -22,7 +22,7 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/pterodactyl/wings
images: ghcr.io/${{ github.repository }}
flavor: |
latest=false
tags: |
@ -40,8 +40,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get Build Information
id: build_info