Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
atastycookie authored Feb 3, 2024
1 parent 673efb9 commit de175a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ on:
- info
- warning
- debug
releaseLabel:
description: 'Release label'
required: false
type: string
default: latest

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
SHA: ${{ github.event.pull_request.head.sha || github.event.after }}
COMPARE_TAG: latest

jobs:
build:
Expand Down Expand Up @@ -67,7 +71,7 @@ jobs:
file: Dockerfile.base
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ inputs.releaseLabel }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit de175a4

Please sign in to comment.