Skip to content

Use dockerfile to build skopeo version 1.13.0 #258

Use dockerfile to build skopeo version 1.13.0

Use dockerfile to build skopeo version 1.13.0 #258

Workflow file for this run

name: Test for podman
on:
schedule:
- cron: "0 0 * * *"
push:
jobs:
podman-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Install just
uses: taiki-e/install-action@just
- name: Install requirements
run: sudo env PATH=$PATH just ci-prepare
- run: just youki-dev
- run: sudo cp youki /usr/local/bin
- name: Install requirements for Podman
run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev libgpgme-dev bats skopeo
- name: Build latest skopeo # because ubuntu 22.04 does not have latest, and podman tests depend on that
run: docker build . -f ./hack/skopeo.dockerfile --target skopeo-rootfs --output=/ && skopeo --version
- name: Clone podman repository
uses: actions/checkout@v3
with:
repository: containers/podman
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build podman
run: make binaries
- name: Install tools
run: make install.tools
- name: Run podman test
run: sudo OCI_RUNTIME=/usr/local/bin/youki make localsystem 2>&1 | tee build.log
- name: Adding Summary
run: |
echo "Total tests: 600+ Failed tests: $(cat build.log | grep " ok " | wc -l)" >> $GITHUB_STEP_SUMMARY