Adding a release build now that pull requests are proven.
All checks were successful
/ Build and Test CI Image (pull_request) Successful in 4m25s
All checks were successful
/ Build and Test CI Image (pull_request) Successful in 4m25s
This commit is contained in:
parent
f201a3cc66
commit
372e60fb7e
1 changed files with 30 additions and 0 deletions
30
.forgejo/workflows/release.yaml
Normal file
30
.forgejo/workflows/release.yaml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci_image_release:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: registry.garrity.co:8443/gs/ci-containers:latest
|
||||||
|
name: 'Build and Release CI Image'
|
||||||
|
env:
|
||||||
|
IMAGE_TAG: registry.garrity.co:8443/gs/ci-scala:latest
|
||||||
|
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"
|
Loading…
Add table
Reference in a new issue