circleci: make release job a machine
setup_remote_docker is somehow not working and gives: docker: command not found
This commit is contained in:
committed by
Steve Chavez
parent
9f8d1af2cd
commit
63849f1275
@@ -119,10 +119,14 @@ jobs:
|
|||||||
# Publish a new release. This only runs when a release is tagged (see
|
# Publish a new release. This only runs when a release is tagged (see
|
||||||
# workflow below).
|
# workflow below).
|
||||||
release:
|
release:
|
||||||
docker:
|
machine: true
|
||||||
- image: nixos/nix:2.3
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- 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:
|
- run:
|
||||||
name: Install and use the Cachix binary cache
|
name: Install and use the Cachix binary cache
|
||||||
command: |
|
command: |
|
||||||
@@ -137,7 +141,6 @@ jobs:
|
|||||||
export GITHUB_USERNAME="$CIRCLE_PROJECT_USERNAME"
|
export GITHUB_USERNAME="$CIRCLE_PROJECT_USERNAME"
|
||||||
export GITHUB_REPONAME="$CIRCLE_PROJECT_REPONAME"
|
export GITHUB_REPONAME="$CIRCLE_PROJECT_REPONAME"
|
||||||
postgrest-release-github
|
postgrest-release-github
|
||||||
- setup_remote_docker
|
|
||||||
- run:
|
- run:
|
||||||
name: Publish Docker images
|
name: Publish Docker images
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user