Update nix.yml (#202)

YOLO

* Update nix.yml

* Update site.dhall
This commit is contained in:
Cadey Ratio 2020-09-01 17:17:38 -04:00 committed by GitHub
parent af60380cb4
commit dae1c6b7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View File

@ -17,14 +17,13 @@ jobs:
name: xe
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: |
- name: Log into GitHub Container Registry
run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
- name: Docker push
run: |
docker load -i result
docker tag xena/christinewebsite:latest xena/christinewebsite:$GITHUB_SHA
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
docker push xena/christinewebsite
env:
DOCKER_USERNAME: "xena"
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
docker tag xena/christinewebsite:latest ghcr.io/xe/site:$GITHUB_SHA
docker push ghcr.io/xe/site
release:
runs-on: ubuntu-latest
needs: docker-build

View File

@ -6,7 +6,7 @@ let kubernetes =
let tag = env:GITHUB_SHA as Text ? "latest"
let image = "xena/christinewebsite:${tag}"
let image = "ghcr.io/xena/site:${tag}"
let vars
: List kubernetes.EnvVar.Type