From 63849f12752158cb2f1e0f3199f647335f7bfb00 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Fri, 6 Nov 2020 13:02:52 -0500 Subject: [PATCH] circleci: make release job a machine setup_remote_docker is somehow not working and gives: docker: command not found --- .circleci/config.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cff0886fc..659bef5bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -119,10 +119,14 @@ jobs: # Publish a new release. This only runs when a release is tagged (see # workflow below). release: - docker: - - image: nixos/nix:2.3 + machine: true steps: - checkout + - run: + name: Install Nix + command: | + curl -L https://nixos.org/nix/install | sh + echo "source $HOME/.nix-profile/etc/profile.d/nix.sh" >> $BASH_ENV - run: name: Install and use the Cachix binary cache command: | @@ -137,7 +141,6 @@ jobs: export GITHUB_USERNAME="$CIRCLE_PROJECT_USERNAME" export GITHUB_REPONAME="$CIRCLE_PROJECT_REPONAME" postgrest-release-github - - setup_remote_docker - run: name: Publish Docker images command: |