@@ -9,37 +9,29 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Use whatever normal runner label your Gitea instance provides.
|
||||
# Common examples are: ubuntu-latest, linux, docker, or native.
|
||||
runs-on: rhel10
|
||||
|
||||
steps:
|
||||
- name: Node
|
||||
run: dnf install nodejs
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Release
|
||||
run: cat /etc/*release
|
||||
|
||||
- name: Search for podman
|
||||
run: dnf search podman
|
||||
|
||||
- name: Look for podman
|
||||
run: dnf info podman
|
||||
|
||||
- name: Download build image
|
||||
run: |
|
||||
curl -L \
|
||||
-o devimgs-centos-7-rust.tgz \
|
||||
https://gitea.psi.ch/api/packages/daqbuf/generic/devimgs-centos-7-rust/0.1.0/devimgs-centos-7-rust.tgz
|
||||
|
||||
- name: Unpack build image
|
||||
run: |
|
||||
<devimgs-centos-7-rust.tgz >devimgs-centos-7-rust.tar gunzip
|
||||
|
||||
- name: Load build image into Podman
|
||||
run: |
|
||||
podman load -i devimgs-centos-7-rust.tar
|
||||
|
||||
- name: Show loaded images
|
||||
run: |
|
||||
podman images
|
||||
|
||||
Reference in New Issue
Block a user