Skip to content

Commit

Permalink
Merge pull request #1 from OpenPlaceGuide/amenk-patch-1
Browse files Browse the repository at this point in the history
Create docker-image.yml
  • Loading branch information
amenk authored Jun 2, 2024
2 parents dc9e283 + 30947ca commit 013b5da
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Image CI - for opg-pages

on:
push:
branches: [ "opg-master" ]

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
if: github.ref == 'refs/heads/opg-master'
run: |
docker build --build-arg PROXY_BACKEND=http://opg-pages/ . --file Dockerfile --tag ghcr.io/openplaceguide/osmapp:latest
docker push ghcr.io/openplaceguide/osmapp:latest

0 comments on commit 013b5da

Please sign in to comment.