Skip to content

Merge pull request #15 from OpenPlaceGuide/develop #4

Merge pull request #15 from OpenPlaceGuide/develop

Merge pull request #15 from OpenPlaceGuide/develop #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to Github Packages
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_PAT }}
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag ghcr.io/openplaceguide/opg-pages:latest
docker push ghcr.io/openplaceguide/opg-pages:latest