Skip to content
Snippets Groups Projects
Commit 1cc51332 authored by Elliott Shugerman's avatar Elliott Shugerman
Browse files

remove dockerhub build code

parent 1677fb8e
Branches master
No related tags found
No related merge requests found
......@@ -9,7 +9,6 @@ jobs:
strategy:
matrix:
include:
- { postgres: 9, alpine: '3.6' }
- { postgres: 10, alpine: '3.8' }
- { postgres: 11, alpine: '3.10' }
- { postgres: 12, alpine: '3.12' }
......
#!/bin/bash
set -eux
source ./hooks/versions.sh
for pg_version in ${!VERSIONS[@]}; do
docker build \
--build-arg "ALPINE_VERSION=${VERSIONS[$pg_version]}" \
--tag "postgres-backup-s3:$pg_version" \
.
done
#!/bin/bash
set -eux
source ./hooks/versions.sh
for pg_version in ${!VERSIONS[@]}; do
docker tag postgres-backup-s3:$pg_version $DOCKER_REPO:$pg_version
docker push $DOCKER_REPO:$pg_version
done
declare -A versions
# VERSIONS[<postgres>]=<alpine>
VERSIONS[10]=3.8
VERSIONS[11]=3.10
VERSIONS[12]=3.12
VERSIONS[13]=3.14
VERSIONS[14]=3.15
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment