Add multiarch support + Daily builds with GitHub Actions

This commit is contained in:
Philipp Schmitt
2020-03-11 19:00:43 +01:00
parent 3be3e16bb2
commit a7e3f30467
2 changed files with 82 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
name: GitHub Actions CI
on:
push:
schedule:
- cron: '0 6 * * *'
jobs:
buildx:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@master
with:
ref: ${{ github.ref }}
- name: Docker login
uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build docker container
env:
DOCKER_CLI_EXPERIMENTAL: enabled
run: |
curl -fsSL https://raw.githubusercontent.com/pschmitt/ci-setup-docker-buildx/master/setup.sh | bash
./buildx.sh