Merge pull request #662 from BlockyBlockling/docker-workflow-rework

Adding fix for forks to use a variable for Docker image reference instead of hard String
This commit is contained in:
Michael (Parker) Parker 2024-10-26 18:45:59 -04:00 committed by GitHub
commit ecb195b2c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,10 @@ on:
types: types:
- published - published
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs: jobs:
build-and-push: build-and-push:
name: Build and Push name: Build and Push
@ -26,7 +30,7 @@ jobs:
id: docker_meta id: docker_meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ghcr.io/pelican-dev/panel images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: | flavor: |
latest=false latest=false
tags: | tags: |