ctop/.circleci/config.yml
DasSkelett 163060b3fa
Update runc to 1.1.0 to get newer x/sys and fix Go 1.18 build (#292)
* Update runc to 1.1.0 to get newer x/sys

...to fix building on Darwin with Go 1.18.

This required some code changes as opencontainers unfortunately introduced breaking changes in a minor revision.
However, those changes were to simpify the libcontainer factory initialization.

* Switch CircleCI image to cimg/go, update remote Docker version to 20.10
2022-03-23 13:46:40 -04:00

20 lines
560 B
YAML

version: 2
jobs:
build:
working_directory: ~/build
docker:
- image: cimg/go:latest
steps:
- checkout
- setup_remote_docker:
version: 20.10.11
- run: make image
- deploy:
command: |
if [[ "$CIRCLE_BRANCH" == "master" ]]; then
docker tag ctop quay.io/vektorlab/ctop:latest
docker tag ctop quay.io/vektorlab/ctop:$(cat VERSION)
docker login -u $DOCKER_USER -p $DOCKER_PASS quay.io
docker push quay.io/vektorlab/ctop
fi