Skip to content

Commit b7ba429

Browse files
committed
feat: ensure the entire /app directory is owned by 65532
also only build stable on tag pushes; build canary images by default
1 parent e47bccd commit b7ba429

File tree

3 files changed

+2
-82
lines changed

3 files changed

+2
-82
lines changed

.github/workflows/build-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
version: latest
3131
args: release --clean
3232
env:
33-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build-image.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ENV SERVER_ADDR=dns:localhost:5230
2323
ENV BOT_TOKEN=your_telegram_bot_token
2424

2525
# Copy files with proper ownership
26-
COPY --from=builder --chown=65532:65532 /app/memogram .
26+
COPY --from=builder --chown=65532:65532 /app /app
2727
COPY --chown=65532:65532 .env.example .env
2828

2929
CMD ["./memogram"]

0 commit comments

Comments
 (0)