Skip to content

Bump buildx and build-push actions #6

Bump buildx and build-push actions

Bump buildx and build-push actions #6

name: ci
on:
push:
branches:
- 'main'
- 'docker-devenv-9'
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push main image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
platform: linux/arm64,linux/amd64
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/devenv:latest
-
name: Build and push lite image (no DuckDB support)
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile-lite
push: true
platform: linux/arm64,linux/amd64
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/devenv-lite:latest