Remove unused environment variable and annotations from Docker metadata extraction

This commit is contained in:
Joakim Hellsén 2025-09-20 22:04:15 +02:00
commit 1cea42ce7f

View file

@ -40,8 +40,6 @@ jobs:
# Extract metadata (tags, labels) from Git reference and GitHub events for Docker # Extract metadata (tags, labels) from Git reference and GitHub events for Docker
- id: meta - id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
with: with:
images: ghcr.io/thelovinator1/anewdawn images: ghcr.io/thelovinator1/anewdawn
tags: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} tags: type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
@ -53,4 +51,3 @@ jobs:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}