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

This commit is contained in:
Nicolas CARON 2024-03-20 12:53:16 +01:00
parent 3f8fa2d6ab
commit b3fa9e3b38
1 changed files with 7 additions and 2 deletions

View File

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