Cleanup #232
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
test: | |
name: Remote Docker Build Demo | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Docker test | |
run: | | |
# Github Action Docker version | |
docker version | |
docker ps | |
# Remote Docker | |
export DOCKER_HOST=tcp://88.99.211.150:2375 | |
docker ps | |
# docker build --platform linux/amd64 -t yyy -f docker/Dockerfile.multistage . | |
# Remote Docker Buildx builders | |
docker buildx create --name builder-remote --driver docker-container --use tcp://88.99.211.150:2375 | |
docker buildx inspect --bootstrap --builder builder-remote | |
docker builder ls | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
with: | |
endpoint: tcp://88.99.211.150:2375 | |
- name: Build Capacitor image | |
id: build | |
uses: docker/build-push-action@v6 | |
with: | |
context: . | |
file: docker/Dockerfile.multistage | |
platforms: linux/amd64 #,linux/arm64/v8 | |
push: false | |
tags: | | |
ghcr.io/gimlet-io/capacitor:build |