Compare commits
No commits in common. "388ba26296bc2fe89182ef59ab2244a1755897a7" and "025d79f30990bd10b46ee434037d20463d42b8a6" have entirely different histories.
388ba26296
...
025d79f309
@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Copyright (c) 2024 Bryan Joshua Pedini
|
|
||||||
# License: MIT · see LICENSE file for more details
|
|
||||||
|
|
||||||
export REGISTRY=bryanpedini
|
|
||||||
export IMAGE=gobuilder
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (c) 2022-2024 Bryan Joshua Pedini
|
# Copyright (c) 2022 Bryan Joshua Pedini
|
||||||
# License: MIT · see LICENSE file for more details
|
# License: MIT · see LICENSE file for more details
|
||||||
ARG GO_VERSION "$GO_VERSION"
|
ARG GO_VERSION "$GO_VERSION"
|
||||||
|
|
||||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2022-2024 Bryan Joshua Pedini
|
Copyright (c) 2022 Bryan Joshua Pedini
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
14
README.md
14
README.md
@ -8,17 +8,3 @@ Image based on official Golang as base, with Git on top (why don't they include
|
|||||||
- [1.18.6-alpine3.16](https://github.com/docker-library/golang/blob/2a6ba509d511d58eeb14b81888133745bfe7ef5b/1.18/alpine3.16/Dockerfile)
|
- [1.18.6-alpine3.16](https://github.com/docker-library/golang/blob/2a6ba509d511d58eeb14b81888133745bfe7ef5b/1.18/alpine3.16/Dockerfile)
|
||||||
- [1.19.1-alpine3.15](https://github.com/docker-library/golang/blob/5457a34ddb2e2b59d72069d061187089553d3c1c/1.19/alpine3.15/Dockerfile)
|
- [1.19.1-alpine3.15](https://github.com/docker-library/golang/blob/5457a34ddb2e2b59d72069d061187089553d3c1c/1.19/alpine3.15/Dockerfile)
|
||||||
- [1.19.1-alpine3.16](https://github.com/docker-library/golang/blob/5457a34ddb2e2b59d72069d061187089553d3c1c/1.19/alpine3.16/Dockerfile)
|
- [1.19.1-alpine3.16](https://github.com/docker-library/golang/blob/5457a34ddb2e2b59d72069d061187089553d3c1c/1.19/alpine3.16/Dockerfile)
|
||||||
- [1.19.13-alpine3.17](https://github.com/docker-library/golang/blob/18778673d05af968094fe71d45dfd7fbf1856b65/1.19/alpine3.17/Dockerfile)
|
|
||||||
- [1.19.13-alpine3.18](https://github.com/docker-library/golang/blob/18778673d05af968094fe71d45dfd7fbf1856b65/1.19/alpine3.18/Dockerfile)
|
|
||||||
- [1.20.12-alpine3.17](https://github.com/docker-library/golang/blob/339da23255a9dc00f7921fca9a022f6b95843358/1.20/alpine3.17/Dockerfile)
|
|
||||||
- [1.20.12-alpine3.18](https://github.com/docker-library/golang/blob/339da23255a9dc00f7921fca9a022f6b95843358/1.20/alpine3.18/Dockerfile)
|
|
||||||
- [1.21.5-alpine3.17](https://github.com/docker-library/golang/blob/d106c8658abc0975bcd2d8a68a8f4ca85b04a93a/1.21/alpine3.17/Dockerfile)
|
|
||||||
- [1.21.5-alpine3.18](https://github.com/docker-library/golang/blob/d106c8658abc0975bcd2d8a68a8f4ca85b04a93a/1.21/alpine3.18/Dockerfile)
|
|
||||||
- [1.21.9-alpine3.18](https://github.com/docker-library/golang/blob/8e88a7ff80459c7663355a7597aae18097fefc93/1.21/alpine3.18/Dockerfile)
|
|
||||||
- [1.21.9-alpine3.19](https://github.com/docker-library/golang/blob/8e88a7ff80459c7663355a7597aae18097fefc93/1.21/alpine3.19/Dockerfile)
|
|
||||||
- [1.22.2-alpine3.18](https://github.com/docker-library/golang/blob/ea6bbce8c9b13acefed0f5507336be01f0918f97/1.22/alpine3.18/Dockerfile)
|
|
||||||
- [1.22.2-alpine3.19](https://github.com/docker-library/golang/blob/ea6bbce8c9b13acefed0f5507336be01f0918f97/1.22/alpine3.19/Dockerfile)
|
|
||||||
|
|
||||||
# License:
|
|
||||||
Copyright (c) 2022-2024 Bryan Joshua Pedini<br>
|
|
||||||
License: MIT · see [LICENSE](LICENSE) file for more details
|
|
||||||
|
8
build.sh
Executable file → Normal file
8
build.sh
Executable file → Normal file
@ -1,15 +1,15 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Copyright (c) 2022-2024 Bryan Joshua Pedini
|
# Copyright (c) 2022 Bryan Joshua Pedini
|
||||||
# License: MIT · see LICENSE file for more details
|
# License: MIT · see LICENSE file for more details
|
||||||
|
|
||||||
REGEX="^[ ]*(#.*)?$"
|
REGEX="^[ ]*(#.*)?$"
|
||||||
while read -r VERSION; do
|
while read -r VERSION; do
|
||||||
if [[ ! "${VERSION}" =~ $REGEX ]]; then
|
if [[ ! "${VERSION}" =~ $REGEX ]]; then
|
||||||
docker pull golang:${VERSION}
|
docker pull golang:${VERSION}
|
||||||
docker build --force-rm --build-arg GO_VERSION=${VERSION} -t ${REGISTRY}/${IMAGE}:${VERSION} .
|
docker build --force-rm --build-arg GO_VERSION=${VERSION} -t bryanpedini/gobuilder:${VERSION} .
|
||||||
docker push ${REGISTRY}/${IMAGE}:${VERSION}
|
docker push bryanpedini/gobuilder:${VERSION}
|
||||||
docker image rm ${REGISTRY}/${IMAGE}:${VERSION} golang:${VERSION}
|
docker image rm bryanpedini/gobuilder:${VERSION} golang:${VERSION}
|
||||||
fi
|
fi
|
||||||
done < versionlist
|
done < versionlist
|
||||||
|
10
makefile
10
makefile
@ -1,10 +0,0 @@
|
|||||||
#!make
|
|
||||||
include .makeVars
|
|
||||||
|
|
||||||
# Copyright (c) 2024 Bryan Joshua Pedini
|
|
||||||
# License: MIT · see LICENSE file for more details
|
|
||||||
|
|
||||||
default: build
|
|
||||||
|
|
||||||
build:
|
|
||||||
bash -c "./build.sh"
|
|
10
versionlist
10
versionlist
@ -1,9 +1,9 @@
|
|||||||
# Copyright (c) 2022-2024 Bryan Joshua Pedini
|
# Copyright (c) 2022 Bryan Joshua Pedini
|
||||||
# License: MIT · see LICENSE file for more details
|
# License: MIT · see LICENSE file for more details
|
||||||
|
|
||||||
|
1.19.13-alpine3.17
|
||||||
|
1.19.13-alpine3.18
|
||||||
1.20.12-alpine3.17
|
1.20.12-alpine3.17
|
||||||
1.20.12-alpine3.18
|
1.20.12-alpine3.18
|
||||||
1.21.9-alpine3.18
|
1.21.5-alpine3.17
|
||||||
1.21.9-alpine3.19
|
1.21.5-alpine3.18
|
||||||
1.22.2-alpine3.18
|
|
||||||
1.22.2-alpine3.19
|
|
||||||
|
Loading…
Reference in New Issue
Block a user