Use different base of image depending on arch passed in via docker bu… #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build docker images | |
on: | |
# schedule: | |
# - cron: "0 0 * * *" | |
push: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USER }} | |
password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
- name: Checkout duckdb repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: duckdb/duckdb | |
path: build/duckdb | |
- name: Run build | |
run: ./docker_image.sh |