Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
fix: change workflow for docker trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
piraces committed Jan 21, 2023
1 parent fd911a3 commit 617d4a1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ SECRET=test
DB_DIR="/db"
DEFAULT_PROFILE_PICTURE_URL="https://i.imgur.com/MaceU96.png"
SECRET="CHANGE_ME"
VERSION=0.2.5
VERSION=0.2.6
5 changes: 3 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish Docker image

on:
release:
types: [published,released,created]
push:
tags:
- '*'
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ENV PORT="8080"
ENV DB_DIR="/db"
ENV DEFAULT_PROFILE_PICTURE_URL="https://i.imgur.com/MaceU96.png"
ENV SECRET="CHANGE_ME"
ENV VERSION=0.2.5
ENV VERSION=0.2.6

COPY --from=build /rsslay .

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.railwayapp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV PORT=$PORT
ENV DB_DIR=$DB_DIR
ENV DEFAULT_PROFILE_PICTURE_URL=$DEFAULT_PROFILE_PICTURE_URL
ENV SECRET=$SECRET
ENV VERSION=0.2.5
ENV VERSION=0.2.6

COPY --from=build /rsslay .

Expand Down

0 comments on commit 617d4a1

Please sign in to comment.