forked from cadey/xesite
parent
af60380cb4
commit
dae1c6b7dc
|
@ -17,14 +17,13 @@ jobs:
|
||||||
name: xe
|
name: xe
|
||||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
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 load -i result
|
||||||
docker tag xena/christinewebsite:latest xena/christinewebsite:$GITHUB_SHA
|
docker tag xena/christinewebsite:latest ghcr.io/xe/site:$GITHUB_SHA
|
||||||
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin
|
docker push ghcr.io/xe/site
|
||||||
docker push xena/christinewebsite
|
|
||||||
env:
|
|
||||||
DOCKER_USERNAME: "xena"
|
|
||||||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: docker-build
|
needs: docker-build
|
||||||
|
|
|
@ -6,7 +6,7 @@ let kubernetes =
|
||||||
|
|
||||||
let tag = env:GITHUB_SHA as Text ? "latest"
|
let tag = env:GITHUB_SHA as Text ? "latest"
|
||||||
|
|
||||||
let image = "xena/christinewebsite:${tag}"
|
let image = "ghcr.io/xena/site:${tag}"
|
||||||
|
|
||||||
let vars
|
let vars
|
||||||
: List kubernetes.EnvVar.Type
|
: List kubernetes.EnvVar.Type
|
||||||
|
|
Loading…
Reference in New Issue