-
Notifications
You must be signed in to change notification settings - Fork 265
50 lines (47 loc) · 1.33 KB
/
update-docker-images.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Update Docker images
on:
workflow_dispatch:
schedule:
# update Docker images every week
- cron: '0 12 * * 0'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- NAME: bionic x86_64
ARCH: x86_64
DIST: bionic
- NAME: bionic i386
ARCH: i386
DIST: bionic
- NAME: bionic arm64
ARCH: arm64
DIST: bionic
- NAME: bionic armhf
ARCH: armhf
DIST: bionic
- NAME: Lite AppImage bionic x86_64
ARCH: x86_64
DIST: bionic
BUILD_LITE: 1
- NAME: Lite AppImage bionic i386
ARCH: i386
DIST: bionic
BUILD_LITE: 1
name: Build Docker image ${{ matrix.NAME }}
env:
ARCH: ${{ matrix.ARCH }}
DIST: ${{ matrix.DIST }}
BUILD_LITE: ${{ matrix.BUILD_LITE }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU integration for Docker
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Build and upload Docker image
run: bash -ex ci/build-docker-image.sh
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}