-
Notifications
You must be signed in to change notification settings - Fork 5
29 lines (28 loc) · 1.18 KB
/
weekly-build.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
name: Deploy weekly
on:
schedule:
- cron: '0 0 * * 0'
jobs:
nightly:
name: Build weekly
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create postgres latest image
run: docker buildx build -f dbs/postgres/Dockerfile -t metabase/qa-databases:postgres-sample-latest --push --compress --no-cache --platform linux/arm64/v8,linux/amd64 .
- name: Create mongo latest image
run: docker buildx build -f dbs/mongo/Dockerfile -t metabase/qa-databases:mongo-sample-latest --push --compress --no-cache --platform linux/arm64/v8,linux/amd64 .
- name: Create mysql latest image
run: docker buildx build -f dbs/mysql/Dockerfile -t metabase/qa-databases:mysql-sample-latest --push --compress --no-cache --platform linux/arm64/v8,linux/amd64 .