Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
laszlocph committed Oct 5, 2024
1 parent 89f90a6 commit 440a665
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 440a665

Please sign in to comment.