From 8069eb549653e8868d71094ad61aff7b75a207b2 Mon Sep 17 00:00:00 2001 From: mungai-njoroge Date: Fri, 13 Oct 2023 19:23:30 +0300 Subject: [PATCH] update Dockerfile --- .github/workflows/release.yml | 3 +-- Dockerfile | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a482eec2..fe4e17e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -155,7 +155,6 @@ jobs: type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} type=sha - - name: print directory run: | ls -R @@ -165,5 +164,5 @@ jobs: context: . platforms: linux/amd64,linux/arm push: true - tags: ghcr.io/swing-opensource/swingmusic:${{inputs.tag}} + tags: ghcr.io/${{github.repository}}:${{inputs.tag}} labels: ${{ steps.meta.outputs.labels }}w diff --git a/Dockerfile b/Dockerfile index dce7623f..a091d596 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,8 @@ WORKDIR / COPY ./dist/swingmusic /swingmusic +RUN chmod +x /swingmusic + EXPOSE 1970/tcp VOLUME /music