amazonlinux23 + alpine support

This commit is contained in:
Jason Swank
2024-01-16 18:39:00 +00:00
parent aa36dedffd
commit 08341301c1
5 changed files with 92 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
set dotenv-load
tag := `grep ^FROM Dockerfile | cut -d: -f2`
tag := "alpine"
image := "jswank/aws-cli"
registry := "ghcr.io"
@@ -11,7 +11,7 @@ registry_pass_var := "REGISTRY_PASSWORD"
# build a new image
build flags="":
podman build -t {{image}}:{{tag}} {{flags}} -f Dockerfile ctx
podman build -t {{image}}:{{tag}} {{flags}} -f Dockerfile.alpine ctx
# publish the image
publish alt_tag=tag: