keycloak/.forgejo/workflows/container-build.yml
Sebastian Tobie 1d3ade3e23
Einige Prüfungen sind fehlgeschlagen
/ build-image (push) Failing after 4s
changed the code to an heredoc
2025-01-19 21:49:15 +01:00

25 Zeilen
745 B
YAML

---
on: [push]
jobs:
build-image:
runs-on: host
steps:
- name: Test OS
shell: sh
run: |
js <<EOF
console.log(process.env.RUNNER_OS)
EOF
- uses: actions/checkout@v3
- uses: https://github.com/redhat-actions/buildah-build@v2
with:
containerfiles: Containerfile
image: ${{ github.repository }}
registry: gitea.sebastian-tobie.de
tags: latest ${{ github.run_number }}
- uses: https://github.com/redhat-actions/push-to-registry@v2.8
with:
image: ${{ github.repository }}
registry: gitea.sebastian-tobie.de
tags: latest ${{ github.run_number }}
password: ${{ github.token }}