Introducing automated builds for this image. (Bump) #1

Merged
pfm merged 6 commits from add-automated-builds into main 2024-03-24 15:57:46 +00:00
3 changed files with 10 additions and 7 deletions
Showing only changes of commit 8efacdcd3e - Show all commits

View file

@ -10,7 +10,7 @@ jobs:
ci_image_build:
runs-on: docker
container:
image: mgoltzsche/podman:4.9-minimal
image: registry.garrity.co:8443/gs/ci-containers:latest
name: 'Build and Test CI Image'
env:
IMAGE_TAG: registry.garrity.co:8443/gs/ci-scala:pre-release
@ -25,6 +25,5 @@ jobs:
pre-commit run --all-files
- name: 'Build and Push Pre-Release'
run: |
echo "Building and pushing pre-release: $IMAGE_TAG"
podman build --tag "$IMAGE_TAG" .
podman push "$IMAGE_TAG"

View file

@ -1,4 +1,6 @@
#!/bin/sh
podman build --tag registry.garrity.co:8443/gs/ci-scala:latest .
podman push registry.garrity.co:8443/gs/ci-scala:latest
readonly image_tag="registry.garrity.co:8443/gs/ci-scala:latest"
podman build --tag "$image_tag" .
podman push "$image_tag"

View file

@ -1,4 +1,6 @@
#!/bin/sh
#!/bin/bash
podman build --tag registry.garrity.co:8443/gs/ci-scala:latest .
podman run --rm -it --entrypoint bash registry.garrity.co:8443/gs/ci-scala:latest
readonly image_tag="registry.garrity.co:8443/gs/ci-scala:latest"
podman build --tag "$image_tag" .
podman run --rm -it --entrypoint bash "$image_tag"