37 lines
866 B
YAML
37 lines
866 B
YAML
name: Buildtest
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
# Use whatever normal runner label your Gitea instance provides.
|
|
# Common examples are: ubuntu-latest, linux, docker, or native.
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v4
|
|
|
|
- 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
|