Skip to content

Fix missing SECRET_KEY_BASE in prod.Dockerfile build #17

Fix missing SECRET_KEY_BASE in prod.Dockerfile build

Fix missing SECRET_KEY_BASE in prod.Dockerfile build #17

Workflow file for this run

name: Build and Publish Docker Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Build
uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker build -f build/prod.Dockerfile -t ghcr.io/${{ github.repository_owner }}/pfadiolten-home:latest .
docker push ghcr.io/${{ github.repository_owner }}/pfadiolten-home:latest
env:
DOCKER_BUILDKIT: 1