Commit graph

10 commits

Author SHA1 Message Date
cf47feecbb
Update project URLs and refactor Dockerfile
Project URLs have been changed in several files from "src.neessen.cloud/wneessen/apg-go" to "github.com/wneessen/apg-go". In addition, Dockerfile has been significantly refactored. It now includes steps for tidy and verify of Go modules and builds a statically linked binary. Several metadata files have been added with copyright information.
2024-03-14 09:37:52 +01:00
0ec81e16cc
Simplify Dockerfile setup
The Dockerfile has been streamlined to remove unnecessary steps and over-complications. Previously the setup involved building in a separate stage and copying files over, which has now been simplified to just copying the necessary executable to the scratch container and specifying the entry point.
2024-03-14 00:03:04 +01:00
48a0b6763b
Modify Docker build process and workflow
The Docker build command in the GitHub workflow file (docker.yml) now requires sudo privileges. Additionally, the Dockerfile has been expanded to not only tidy up and verify the Go modules project but also to alter the build path for the "apg-go" executable.
2024-03-13 23:45:58 +01:00
6987fdd8af
Relocate Docker build and push process to GitHub Workflow
The Docker image creation and pushing procedures have been moved from the goreleaser.yaml file to a separate GitHub Workflow file docker.yml. This shift gives a more granular control over the Docker image build and push operations with specific GitHub Actions. Also, added the Dockerfile instructions and docker-files for image building to cope up with the changed Docker process.
2024-03-13 23:34:23 +01:00
e95c69e41f Added SPDX license header to Dockerfile 2024-03-13 22:45:25 +01:00
e5f97ee2f0 Updated .goreleaser and added Dockerfile and LICENSE 2024-03-13 22:36:46 +01:00
befa6c2723
Remove old code for the v2 refactor 2023-04-06 12:21:20 +02:00
85c828801f
Dockerfile was accidentally forcing GOOS and GOARCH.
For each of use, the version now also prints out OS and ARCH
2022-05-12 10:38:56 +02:00
c08abd0aa3
Add CA certificate file from build to docker image so HIBP lookups won't fail 2022-05-11 16:24:24 +02:00
55f9634902
Add Dockerfile so apg-go can be dockerized via Github 2022-05-11 14:51:58 +02:00