-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (28 loc) · 985 Bytes
/
main.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
name: CI
on:
push:
branches: [ master ]
schedule:
- cron: '00 10 * * 1' # Run at 10:00 on Monday.
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Free Up Space
run: sudo rm -rf /usr/local/lib/android && sudo rm -rf /usr/share/dotnet && sudo rm -rf /opt/ghc && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Install Invoke
run: pip install invoke
- name: Docker GHCR Login
run: docker login ghcr.io -u nakkaya --password '${{ secrets.GHCR_PASSWORD }}'
- name: Docker Hub Login
run: docker login --username nakkaya --password '${{ secrets.DOCKER_PASSWORD }}'
- name: Build Image
run: invoke build