Rework in terms of a new CI image.
Some checks failed
/ Build and Test CI Image (pull_request) Failing after 3m25s

This commit is contained in:
Pat Garrity 2024-03-24 10:32:50 -05:00
parent 705da2ddc7
commit 8efacdcd3e
Signed by: pfm
GPG key ID: 5CA5D21BAB7F3A76
3 changed files with 10 additions and 7 deletions

View file

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

View file

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