-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1001 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Docker Image CI
on:
push:
branches: [ release/michendorf ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: >-
docker build .
-f Dockerfile
-t ghcr.io/klima-dashboard/keycloak:latest
- run: docker push ghcr.io/klima-dashboard/keycloak:latest
deploy:
runs-on: ubuntu-latest
container: r.planetary-quantum.com/quantum-public/cli:2
env:
QUANTUM_USER: ${{ secrets.QUANTUM_USER }}
QUANTUM_PASSWORD: ${{ secrets.QUANTUM_PASSWORD }}
QUANTUM_ENDPOINT: "tpwd-klimadashboard"
QUANTUM_STACK: "michendorf-keycloak"
steps:
- uses: actions/checkout@v3
- name: Deploy to Planetary Quantum
run: quantum-cli stacks update --create --wait