moved the testing to an seperate workflow
Einige Prüfungen sind fehlgeschlagen
/ container_build (push) Failing after 24s
Einige Prüfungen sind fehlgeschlagen
/ container_build (push) Failing after 24s
Dieser Commit ist enthalten in:
Ursprung
169f6b0bad
Commit
c3c388a146
2 geänderte Dateien mit 42 neuen und 21 gelöschten Zeilen
|
@ -1,25 +1,22 @@
|
||||||
---
|
---
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
- workflow_dispatch
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONTAINERFILE: Containerfile
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_1:
|
container_build:
|
||||||
runs-on: host
|
runs-on: private-vault
|
||||||
steps:
|
steps:
|
||||||
- name: Test OS
|
- name: Fetch repo
|
||||||
shell: sh
|
uses: actions/checkout@v3
|
||||||
run: |
|
- name: buildah build
|
||||||
node <<EOF
|
run: "buildah build -t image ${{ env.CONTAINERFILE }}"
|
||||||
console.log(process.env.RUNNER_OS)
|
- name: skopeo copy image
|
||||||
EOF
|
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 }}"
|
||||||
env | grep RUNNER_OS
|
- name: Cleanup
|
||||||
test_2:
|
run: "buildah prune -af"
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
steps:
|
|
||||||
- name: Test OS
|
|
||||||
shell: sh
|
|
||||||
run: |
|
|
||||||
node <<EOF
|
|
||||||
console.log(process.env.RUNNER_OS)
|
|
||||||
EOF
|
|
||||||
env | grep RUNNER_OS
|
|
24
.forgejo/workflows/testing.yml
Normale Datei
24
.forgejo/workflows/testing.yml
Normale Datei
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
test_1:
|
||||||
|
runs-on: host
|
||||||
|
steps:
|
||||||
|
- name: Test OS
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
node <<EOF
|
||||||
|
console.log(process.env.RUNNER_OS)
|
||||||
|
EOF
|
||||||
|
env | grep RUNNER_OS
|
||||||
|
test_2:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- name: Test OS
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
node <<EOF
|
||||||
|
console.log(process.env.RUNNER_OS)
|
||||||
|
EOF
|
||||||
|
env | grep RUNNER_OS
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren