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