diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 63058f2..adc13c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,12 +9,17 @@ on: jobs: checkout_repository: runs-on: ubuntu-latest - container: - image: moby/buildkit:latest + steps: - name: Checkout repository uses: actions/checkout@v3 + - 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 + mv buildkit-v0.9.0.linux-amd64/buildctl /usr/local/bin/ + - name: Build and Push Docker Image run: | buildctl build --frontend dockerfile.v0 --local context=. --local dockerfile=. --opt build-arg=ACCESS_TOKEN_USR=ncaron --opt build-arg=ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d --output type=image,name=git.coopgo.io/coopgo-platform/mobility-accounts:test,push=true,registry.insecure=true