forked from kartoza/docker-postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
joschi77
committed
Aug 3, 2021
1 parent
8fb01d3
commit c2c6bec
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> | ||
|
||
|
@@ -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: | ||
|