mirror of
https://github.com/garraflavatra/docker-volume-s3-backup.git
synced 2025-05-17 13:14:38 +00:00
remove dockerhub build code
This commit is contained in:
parent
1677fb8e76
commit
1cc51332a0
1
.github/workflows/build-and-push-images.yml
vendored
1
.github/workflows/build-and-push-images.yml
vendored
@ -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' }
|
||||
|
12
hooks/build
12
hooks/build
@ -1,12 +0,0 @@
|
||||
#!/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
|
||||
|
@ -1,9 +0,0 @@
|
||||
#!/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
|
@ -1,7 +0,0 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user