test
Build and Push Docker Image / checkout_repository (push) Failing after 2s Details

This commit is contained in:
Nicolas CARON 2024-03-20 13:27:21 +01:00
parent ca8c6319d5
commit a02870f2f8
1 changed files with 6 additions and 15 deletions

View File

@ -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: |