revert release.yml

This commit is contained in:
mungai-njoroge 2023-11-25 13:14:16 +03:00
parent eacad79ad2
commit c0a5dc3d27
2 changed files with 8 additions and 6 deletions

View File

@ -51,7 +51,7 @@ jobs:
npm install -g yarn npm install -g yarn
- name: Clone client - name: Clone client
run: | run: |
git clone https://github.com/swing-opensource/swingmusic-client.git git clone https://github.com/cwilvx/swingmusic-client.git
- name: Install dependencies & Build client - name: Install dependencies & Build client
run: | run: |
cd swingmusic-client cd swingmusic-client
@ -160,18 +160,16 @@ jobs:
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/swing-opensource/swingmusic ghcr.io/${{ github.repository }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
platforms: linux/amd64,linux/arm, linux/arm64 platforms: linux/amd64,linux/arm, linux/arm64
push: true push: true
tags: ghcr.io/swing-opensource/swingmusic:${{inputs.tag}}, ${{env.LATEST_TAG}} tags: ghcr.io/${{github.repository}}:${{inputs.tag}}, ${{env.LATEST_TAG}}
labels: org.opencontainers.image.title=Docker labels: org.opencontainers.image.title=Docker
build-args: | build-args: |
--provenance=false --provenance=false
env: env:
LATEST_TAG: ${{ inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', 'swing-opensource/swingmusic') || '' }} LATEST_TAG: ${{ inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
# TODO: REPLACE SWING-OPENSWINGMUSIC WITH github.repository in Docker meta step and following steps

View File

@ -13,3 +13,7 @@ VOLUME /music
VOLUME /config VOLUME /config
ENTRYPOINT ["/swingmusic", "--host", "0.0.0.0", "--config", "/config"] ENTRYPOINT ["/swingmusic", "--host", "0.0.0.0", "--config", "/config"]
LABEL org.opencontainers.image.source=https://github.com/cwilvx/swingmusic
LABEL org.opencontainers.image.description=" Swing Music is a beautiful, self-hosted music player for your local audio files. Like a cooler Spotify ... but bring your own music."
LABEL org.opencontainers.image.licenses=MIT