Skip to content

Target OS

Target OS #234

Workflow file for this run

name: πŸ—οΈ Build
on:
push:
branches:
- '**'
jobs:
test:
name: 🀞 Test
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: ⬇️ Check out code into the Go module directory
uses: actions/checkout@v4
- name: Docker test
run: |
docker version
docker ps
# export DOCKER_HOST=tcp://88.99.211.150:2375
# docker ps
# docker build --platform linux/amd64 -t yyy -f docker/Dockerfile.multistage .
# docker buildx create --name builder-7ea0d9e6-d703-4cb4-aabd-8093e428c664 --driver remote --use tcp://88.99.211.150:2375
docker buildx create --name builder-remote --driver docker-container --use tcp://88.99.211.150:2375
docker builder ls
docker buildx inspect --bootstrap --builder builder-remote
docker builder ls
docker context ls
docker ps
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# with:
# driver-opts: |
# env.http_proxy=tcp://88.99.211.150:2375
# env.https_proxy=tcp://88.99.211.150:2375
# env.no_proxy=168.63.129.16/32
with:
endpoint: tcp://88.99.211.150:2375
# endpoint: ssh://88.99.211.150:2222
- 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
# - name: 🀞 Test UI
# run: make test-ui
# - name: 🀞 Test
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Github Actions"
# make test
# - name: πŸ—οΈ Build
# run: make build
# env:
# VERSION: "ci-build"