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
bc55bf4ef7
commit
fc25e6a3a4
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@ -139,22 +139,22 @@ jobs:
|
|||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Docker meta
|
- name: Docker meta
|
||||||
# id: meta # you'll use this in the next step
|
id: meta # you'll use this in the next step
|
||||||
# uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v3
|
||||||
# with:
|
with:
|
||||||
# # 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
|
# Docker tags based on the following events/attributes
|
||||||
# tags: |
|
tags: |
|
||||||
# type=schedule
|
type=schedule
|
||||||
# type=ref,event=branch
|
type=ref,event=branch
|
||||||
# type=ref,event=pr
|
type=ref,event=pr
|
||||||
# type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
# type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
# type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
# type=sha
|
type=sha
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
@ -162,5 +162,5 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm
|
platforms: linux/amd64,linux/arm
|
||||||
push: true
|
push: true
|
||||||
tags: swing-opensource/swingmusic:${{ inputs.tag }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
# labels: ${{ steps.meta.outputs.labels }}w
|
labels: ${{ steps.meta.outputs.labels }}w
|
||||||
|
Loading…
x
Reference in New Issue
Block a user