test
Build and Push Docker Image / checkout_repository (push) Failing after 2s
Details
Build and Push Docker Image / checkout_repository (push) Failing after 2s
Details
This commit is contained in:
parent
ca8c6319d5
commit
a02870f2f8
|
@ -9,24 +9,15 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
checkout_repository:
|
checkout_repository:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: moby/buildkit:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Install Git
|
||||||
uses: actions/checkout@v3
|
run: apt-get update && apt-get install -y git
|
||||||
|
|
||||||
- name: Download buildctl
|
- name: Checkout Repository
|
||||||
run: |
|
run: git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts .
|
||||||
curl -L https://github.com/moby/buildkit/releases/download/v0.9.0/buildkit-v0.9.0.linux-amd64.tar.gz -o buildkit.tar.gz
|
|
||||||
tar -xzf buildkit.tar.gz
|
|
||||||
ls -la
|
|
||||||
mv -v bin/* /usr/local/bin/
|
|
||||||
buildctl --help
|
|
||||||
service buildkitd restart
|
|
||||||
ls -la /run/buildkit/
|
|
||||||
|
|
||||||
- name: Set up Buildkit address
|
|
||||||
run: |
|
|
||||||
echo "export BUILDKIT_HOST=unix:///path/to/your/buildkitd.sock" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Build and Push Docker Image
|
- name: Build and Push Docker Image
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue