Target OS #234
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: π€ 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" |