-
Notifications
You must be signed in to change notification settings - Fork 39
54 lines (51 loc) · 1.69 KB
/
Copy pathdeploy-beta.yml
File metadata and controls
54 lines (51 loc) · 1.69 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Deploy beta
permissions:
contents: read
on:
push:
branches:
- new-design
jobs:
website:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to image registry
id: registry-login
uses: docker/login-action@v3
with:
username: ${{ secrets.IMAGEREPO_USERNAME }}
password: ${{ secrets.IMAGEREPO_PASSWORD }}
registry: registry.dsek.se
- name: Build and push website
uses: docker/build-push-action@v6
with:
build-args: |
"PUBLIC_MINIO_ENDPOINT=files-sandbox.dsek.se"
"PUBLIC_MINIO_PORT=443"
"PUBLIC_MINIO_USE_SSL=true"
"PUBLIC_BUCKETS_DOCUMENTS=documents"
"PUBLIC_BUCKETS_FILES=files"
"PUBLIC_BUCKETS_MEMBERS=members"
"VERSION=${{ github.ref_name }}"
push: true
tags: registry.dsek.se/web-beta/website:${{ github.ref_name }},registry.dsek.se/web-beta/website:latest
poppler:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to image registry
id: registry-login
uses: docker/login-action@v3
with:
username: ${{ secrets.IMAGEREPO_USERNAME }}
password: ${{ secrets.IMAGEREPO_PASSWORD }}
registry: registry.dsek.se
- name: Build and push poppler
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:poppler-server"
push: true
tags: registry.dsek.se/web-beta/poppler:${{ github.ref_name }},registry.dsek.se/web-beta/poppler:latest