Compare commits
No commits in common. "e83a1dc2b8fa16c42cf7cfb2e91295e263a213be" and "e5795f6c9e5d06e1128b4ace511b0606109c1723" have entirely different histories.
e83a1dc2b8
...
e5795f6c9e
@ -1,8 +0,0 @@
|
|||||||
# Copyright (c) 2022 Bryan Joshua Pedini
|
|
||||||
# License: MIT · see LICENSE file for more details
|
|
||||||
ARG GO_VERSION "$GO_VERSION"
|
|
||||||
|
|
||||||
FROM golang:${GO_VERSION}
|
|
||||||
|
|
||||||
RUN apk add --no-cache git; \
|
|
||||||
rm -rf /var/cache/apk
|
|
14
build.sh
14
build.sh
@ -1,14 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# Copyright (c) 2022 Bryan Joshua Pedini
|
|
||||||
# License: MIT · see LICENSE file for more details
|
|
||||||
|
|
||||||
REGEX="^[ ]*(#.*)?$"
|
|
||||||
while read -r VERSION; do
|
|
||||||
if [[ ! "${VERSION}" =~ $REGEX ]]; then
|
|
||||||
docker build --force-rm --build-arg GO_VERSION=${VERSION} -t bryanpedini/gobuilder:${VERSION} .
|
|
||||||
docker push bryanpedini/gobuilder:${VERSION}
|
|
||||||
docker image rm bryanpedini/gobuilder:${VERSION} golang:${VERSION}
|
|
||||||
fi
|
|
||||||
done < versionlist
|
|
11
versionlist
11
versionlist
@ -1,11 +0,0 @@
|
|||||||
# Copyright (c) 2022 Bryan Joshua Pedini
|
|
||||||
# License: MIT · see LICENSE file for more details
|
|
||||||
|
|
||||||
1.17.6-alpine3.14
|
|
||||||
1.17.6-alpine3.15
|
|
||||||
1.17.7-alpine3.14
|
|
||||||
1.17.7-alpine3.15
|
|
||||||
1.17.8-alpine3.14
|
|
||||||
1.17.8-alpine3.15
|
|
||||||
1.18.0-alpine3.14
|
|
||||||
1.18.0-alpine3.15
|
|
Loading…
Reference in New Issue
Block a user