keycloak/.forgejo/workflows/container-build.yml
Sebastian Tobie c3c388a146
Einige Prüfungen sind fehlgeschlagen
/ container_build (push) Failing after 24s
moved the testing to an seperate workflow
2025-01-26 16:00:17 +01:00

22 Zeilen
Kein EOL
584 B
YAML

---
on:
push:
workflow_dispatch:
env:
CONTAINERFILE: Containerfile
jobs:
container_build:
runs-on: private-vault
steps:
- name: Fetch repo
uses: actions/checkout@v3
- name: buildah build
run: "buildah build -t image ${{ env.CONTAINERFILE }}"
- name: skopeo copy image
run: "skopeo copy --dest-precompute-digests --image-parallel-copies 4 --dest-registry-token ${{ env.GITHUB_TOKEN }} containers-storage:image ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}"
- name: Cleanup
run: "buildah prune -af"