mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
update workflow
This commit is contained in:
parent
bc55bf4ef7
commit
fc25e6a3a4
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@ -139,22 +139,22 @@ jobs:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# - name: Docker meta
|
||||
# id: meta # you'll use this in the next step
|
||||
# uses: docker/metadata-action@v3
|
||||
# with:
|
||||
# # 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: Docker meta
|
||||
id: meta # you'll use this in the next step
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
# 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: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
@ -162,5 +162,5 @@ jobs:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm
|
||||
push: true
|
||||
tags: swing-opensource/swingmusic:${{ inputs.tag }}
|
||||
# labels: ${{ steps.meta.outputs.labels }}w
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}w
|
||||
|
Loading…
x
Reference in New Issue
Block a user