chore(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.9 #167
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: ["*"] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.18' | |
- name: Login ghcr | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.48.0 | |
export PATH=$PATH:$(go env GOPATH)/bin | |
make check | |
make build | |
- name: Test | |
run: | | |
NYDUS_VERSION=v2.1.6 | |
wget https://github.com/dragonflyoss/image-service/releases/download/$NYDUS_VERSION/nydus-static-$NYDUS_VERSION-linux-amd64.tgz | |
sudo tar xzvf nydus-static-$NYDUS_VERSION-linux-amd64.tgz --wildcards --strip-components=1 -C /usr/bin/ nydus-static/* | |
sudo mkdir -p /var/lib/nydus-store | |
sudo cp misc/nydus-config.json /etc/nydusd-config.json | |
sudo cp misc/storage.conf /etc/containers/storage.conf | |
nohup sudo bin/nydus-store --log-to-stdout --log-level info --config-path /etc/nydusd-config.json --root /var/lib/nydus-store & | |
sudo podman run -it ghcr.io/dragonflyoss/image-service/nginx:nydus-latest echo hello word |