diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa3ae5c..e686924 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,24 +9,15 @@ on: jobs: checkout_repository: runs-on: ubuntu-latest + container: + image: moby/buildkit:latest steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Install Git + run: apt-get update && apt-get install -y git - - name: Download buildctl - run: | - 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: Checkout Repository + run: git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts . - name: Build and Push Docker Image run: |