mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 19:25:34 +00:00
update workflow
This commit is contained in:
parent
9af206636f
commit
32ced97a60
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@ -147,15 +147,6 @@ jobs:
|
||||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
ghcr.io/${{ github.repository }}
|
||||
# Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=schedule
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
type=sha
|
||||
- name: print directory
|
||||
run: |
|
||||
ls -R
|
||||
@ -165,7 +156,7 @@ jobs:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm
|
||||
push: true
|
||||
tags: ghcr.io/${{github.repository}}:${{inputs.tag}}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: ghcr.io/${{github.repository}}:${{inputs.tag}}, ${{env.LATEST_TAG}}
|
||||
labels: org.opencontainers.image.title=Docker Container
|
||||
env:
|
||||
LATEST_TAG: ${{ inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
|
||||
LATEST_TAG: ${{ inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user