All checks were successful
/ Build and Release CI Image (push) Successful in 4m21s
29 lines
695 B
YAML
29 lines
695 B
YAML
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
ci_image_build:
|
|
runs-on: docker
|
|
container:
|
|
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
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: 'Checkout Repository'
|
|
with:
|
|
fetch-depth: 0
|
|
- name: 'Pre-Commit'
|
|
run: |
|
|
pre-commit install
|
|
pre-commit run --all-files
|
|
- name: 'Build and Push Pre-Release'
|
|
run: |
|
|
podman build --tag "$IMAGE_TAG" .
|
|
podman push "$IMAGE_TAG"
|