.build.yml: add git tag to sources

This commit is contained in:
Jason Swank 2023-05-16 11:36:04 -04:00
parent afe1b6175c
commit 23719e952a
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ secrets:
- f523ee29-5ef8-490f-8903-43ad7c49060b - f523ee29-5ef8-490f-8903-43ad7c49060b
- 130adee5-3a8f-4035-8cad-e3d044be2961 - 130adee5-3a8f-4035-8cad-e3d044be2961
sources: sources:
- https://git.sr.ht/~jswank/alpine-cli - https://git.sr.ht/~jswank/alpine-cli#3
packages: packages:
- podman - podman
- go-task - go-task

View File

@ -1,4 +1,4 @@
FROM docker.io/library/alpine:latest FROM docker.io/library/alpine:3
LABEL org.opencontainers.image.title=jswank/alpine-cli \ LABEL org.opencontainers.image.title=jswank/alpine-cli \
org.opencontainers.image.description="A minimal image for running Linux CLI utilities" \ org.opencontainers.image.description="A minimal image for running Linux CLI utilities" \

View File

@ -76,7 +76,7 @@ exit
Bonus - the same script could be used to start other containers: Bonus - the same script could be used to start other containers:
```console ```console
$ bin/cli image=alpine:latest $ bin/cli image=alpine:3
/ # ^D / # ^D
``` ```

View File

@ -1,6 +1,6 @@
#!/usr/bin/env -S just --working-directory . --justfile #!/usr/bin/env -S just --working-directory . --justfile
image := "ghcr.io/jswank/alpine-cli:latest" image := "ghcr.io/jswank/alpine-cli:3"
n := "alpine-cli" n := "alpine-cli"
# Invoke the 'run' recipe # Invoke the 'run' recipe