mirror of
https://github.com/willfarrell/docker-autoheal.git
synced 2024-12-06 19:16:20 +01:00
28 lines
603 B
YAML
28 lines
603 B
YAML
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: |
|
|
bash ./.github/workflows/setup.sh |
|
|
bash ./buildx.sh |