mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
fix: docker build
This commit is contained in:
@@ -169,6 +169,6 @@ jobs:
|
||||
tags: ghcr.io/${{github.repository}}:${{format('v{0}', inputs.tag)}}, ${{env.LATEST_TAG}}
|
||||
labels: org.opencontainers.image.title=Docker
|
||||
build-args: |
|
||||
--provenance=false
|
||||
--provenance=false client_tag=${{inputs.tag}}
|
||||
env:
|
||||
LATEST_TAG: ${{ inputs.is_latest == 'true' && format('ghcr.io/{0}:latest', github.repository) || '' }}
|
||||
|
||||
+6
-2
@@ -1,16 +1,20 @@
|
||||
FROM node:latest AS CLIENT
|
||||
|
||||
RUN git clone --depth 1 https://github.com/swing-opensource/swingmusic-client.git client
|
||||
ARG client_tag
|
||||
|
||||
RUN git clone --branch $client_tag --depth 1 https://github.com/swing-opensource/swingmusic-client.git client
|
||||
|
||||
WORKDIR /client
|
||||
|
||||
# RUN git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
# checkout the latest tag
|
||||
# RUN git checkout $client_tag
|
||||
|
||||
RUN yarn install
|
||||
|
||||
RUN yarn build
|
||||
|
||||
FROM python:latest
|
||||
FROM python:3.10
|
||||
|
||||
WORKDIR /app/swingmusic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user