diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ff558c8..019c233 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,8 +17,14 @@ jobs: uses: docker/metadata-action@v5 with: images: plexinc/slack-music-notifications + flavor: | + latest=false tags: | type=ref,event=branch + type=raw,value=latest,enable={{is_default_branch}} + type=ref,event=branch,suffix=-{{sha}} + type=ref,event=pr + type=sha,prefix= type=sha - name: Set up QEMU diff --git a/Dockerfile b/Dockerfile index 1d8ed80..2c98251 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.14.0-alpine +FROM node:20.13.0-alpine ARG PORT=3000 WORKDIR /app