mirror of
https://github.com/typeable/octopod.git
synced 2024-10-05 19:27:24 +03:00
Use new cachix
This commit is contained in:
parent
929e880055
commit
b55a6beaf7
6
.github/actions/common_setup/action.yaml
vendored
6
.github/actions/common_setup/action.yaml
vendored
@ -1,8 +1,8 @@
|
||||
name: "Common setup"
|
||||
description: "Common setup steps"
|
||||
inputs:
|
||||
cachixSigningKey:
|
||||
description: "Cachix signing key"
|
||||
authToken:
|
||||
description: "Cachix auth token"
|
||||
required: true
|
||||
runs:
|
||||
using: "composite"
|
||||
@ -36,5 +36,5 @@ runs:
|
||||
- name: Login to Cachix
|
||||
uses: cachix/cachix-action@v10
|
||||
with:
|
||||
name: octopod
|
||||
name: typeable
|
||||
signingKey: ${{ inputs.cachixSigningKey }}
|
||||
|
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@ -60,7 +60,7 @@ jobs:
|
||||
- name: Common setup
|
||||
uses: ./.github/actions/common_setup
|
||||
with:
|
||||
cachixSigningKey: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
- name: Build
|
||||
run: nix-build -A projectCross.musl64.hsPkgs.octo-cli.components.exes.octo --arg prod true -j auto
|
||||
- uses: actions/upload-artifact@v2
|
||||
@ -77,7 +77,7 @@ jobs:
|
||||
- name: Common setup
|
||||
uses: ./.github/actions/common_setup
|
||||
with:
|
||||
cachixSigningKey: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
|
||||
- name: Build Docker Images
|
||||
run: nix-build ./nix -j auto
|
||||
@ -116,7 +116,7 @@ jobs:
|
||||
- name: Common setup
|
||||
uses: ./.github/actions/common_setup
|
||||
with:
|
||||
cachixSigningKey: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
- name: Push Docker Release Images to DockerHub
|
||||
uses: ./.github/actions/push_docker_images
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user