Skip to content

Commit

Permalink
refactor: simplify ghcr publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
fboulnois committed Jan 13, 2023
1 parent e9aaca2 commit 07f6eca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
inputs:
version:
required: true
default: 'latest'
type: string
env:
SD_VERSION: ${{ github.event.inputs.version }}
Expand All @@ -31,5 +30,5 @@ jobs:
context: .
push: true
tags: |
ghcr.io/fboulnois/stable-diffusion-docker:latest
ghcr.io/fboulnois/stable-diffusion-docker:${{ env.SD_VERSION }}
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ env.SD_VERSION }}

0 comments on commit 07f6eca

Please sign in to comment.