Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi77 committed Aug 3, 2021
1 parent 8fb01d3 commit c2c6bec
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release to Maven and Docker Repo

on:
release:
types: [created]

jobs:

release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: schneidergeo/postgis_base
tag_with_ref: true
tags: RELEASE


11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>docker-postgis</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
ARG DISTRO=debian
ARG IMAGE_VERSION=buster
ARG IMAGE_VARIANT=slim
ARG DISTRO=ubuntu
ARG IMAGE_VERSION=bionic
ARG IMAGE_VARIANT=20210723
FROM kartoza/postgis:$DISTRO-$IMAGE_VERSION-$IMAGE_VARIANT
MAINTAINER Tim Sutton<[email protected]>

Expand All @@ -24,6 +24,9 @@ RUN set -eux \

#-------------Application Specific Stuff ----------------------------------------------------

RUN apt-get -y install python3-setuptools


# We add postgis as well to prevent build errors (that we dont see on local builds)
# on docker hub e.g.
# The following packages have unmet dependencies:
Expand Down

0 comments on commit c2c6bec

Please sign in to comment.