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
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ github.repository }}
|
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
|
- name: print directory
|
||||||
run: |
|
run: |
|
||||||
ls -R
|
ls -R
|
||||||
@ -165,7 +156,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm
|
platforms: linux/amd64,linux/arm
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/${{github.repository}}:${{inputs.tag}}
|
tags: ghcr.io/${{github.repository}}:${{inputs.tag}}, ${{env.LATEST_TAG}}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: org.opencontainers.image.title=Docker Container
|
||||||
env:
|
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