-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,37 +6,29 @@ on: | |
|
||
jobs: | ||
test: | ||
name: 🤞 Test | ||
name: Remote Docker Build Demo | ||
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: | | ||
# Github Action Docker version | ||
docker version | ||
docker ps | ||
# export DOCKER_HOST=tcp://88.99.211.150:2375 | ||
# 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 . | ||
# docker buildx create --name builder-7ea0d9e6-d703-4cb4-aabd-8093e428c664 --driver remote --use tcp://88.99.211.150:2375 | ||
# Remote Docker Buildx builders | ||
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 | ||
- name: Build Capacitor image | ||
|
@@ -49,15 +41,3 @@ jobs: | |
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" |