Rework in terms of a new CI image.
Some checks failed
/ Build and Test CI Image (pull_request) Failing after 3m25s
Some checks failed
/ Build and Test CI Image (pull_request) Failing after 3m25s
This commit is contained in:
parent
705da2ddc7
commit
8efacdcd3e
3 changed files with 10 additions and 7 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue