Skip to content

Commit

Permalink
Create config/master.key while building the image
Browse files Browse the repository at this point in the history
  • Loading branch information
kigster committed Apr 26, 2024
1 parent e3f1836 commit 16adaae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
type=sha,prefix={{branch}}-{{sha}},event=workflow_dispatch
type=raw,value={{date 'YYYYMMDD-HHmm' tz='America/Los_Angeles'}}-rc,event=branch,branch={{is_default_branch}}
- shell: bash
env:
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
run: echo -n "${RAILS_MASTER_KEY}" > config/master.key

# build-push-action v5.3.0
- name: Build and push Docker image
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
Expand Down

0 comments on commit 16adaae

Please sign in to comment.