Skip to content

Commit c2c6bec

Browse files
author
joschi77
committed
-
1 parent 8fb01d3 commit c2c6bec

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release to Maven and Docker Repo
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up JDK 1.8
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 1.8
18+
19+
- name: Push to Docker Hub
20+
uses: docker/build-push-action@v1
21+
with:
22+
username: ${{ secrets.DOCKER_USERNAME }}
23+
password: ${{ secrets.DOCKER_PASSWORD }}
24+
repository: schneidergeo/postgis_base
25+
tag_with_ref: true
26+
tags: RELEASE
27+
28+

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>docker-postgis</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
</buildSpec>
9+
<natures>
10+
</natures>
11+
</projectDescription>

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#--------- Generic stuff all our Dockerfiles should start with so we get caching ------------
2-
ARG DISTRO=debian
3-
ARG IMAGE_VERSION=buster
4-
ARG IMAGE_VARIANT=slim
2+
ARG DISTRO=ubuntu
3+
ARG IMAGE_VERSION=bionic
4+
ARG IMAGE_VARIANT=20210723
55
FROM kartoza/postgis:$DISTRO-$IMAGE_VERSION-$IMAGE_VARIANT
66
MAINTAINER Tim Sutton<tim@kartoza.com>
77

@@ -24,6 +24,9 @@ RUN set -eux \
2424

2525
#-------------Application Specific Stuff ----------------------------------------------------
2626

27+
RUN apt-get -y install python3-setuptools
28+
29+
2730
# We add postgis as well to prevent build errors (that we dont see on local builds)
2831
# on docker hub e.g.
2932
# The following packages have unmet dependencies:

0 commit comments

Comments
 (0)