Created
October 31, 2023 04:58
-
-
Save fabidick22/73610c7f84cad6abc5b28787895e5be3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SOCI | |
on: [push] | |
env: | |
NERDCTL_VERSION: "1.6.2" | |
SOCI_VERSION: "0.4.0" | |
jobs: | |
build-push: | |
name: Build and push image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up nerdctl | |
run: | | |
wget https://github.com/containerd/nerdctl/releases/download/v$NERDCTL_VERSION/nerdctl-full-$NERDCTL_VERSION-linux-amd64.tar.gz | |
sudo tar Cxzvvf /usr/local nerdctl-full-$NERDCTL_VERSION-linux-amd64.tar.gz | |
sudo systemctl enable --now buildkit | |
- name: Set up SOCI | |
run: | | |
wget https://github.com/awslabs/soci-snapshotter/releases/download/v$SOCI_VERSION/soci-snapshotter-$SOCI_VERSION-linux-amd64.tar.gz | |
sudo tar -C /usr/local/bin -xvf soci-snapshotter-$SOCI_VERSION-linux-amd64.tar.gz soci soci-snapshotter-grpc | |
- name: Test commands | |
run: | | |
sudo nerdctl version | |
soci --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment