forked from Dsek-LTH/web
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1 KB
/
deploy.yml
File metadata and controls
33 lines (31 loc) · 1 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
name: ci
on:
release:
types: [published]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to image registry
uses: docker/login-action@v3
with:
username: ${{ secrets.IMAGEREPO_USERNAME }}
password: ${{ secrets.IMAGEREPO_PASSWORD }}
registry: registry.dsek.se
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
build-args: |
"PUBLIC_MINIO_ENDPOINT=minio.api.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/website:${{ github.ref_name }},registry.dsek.se/web/website:latest