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

This commit is contained in:
Nicolas CARON 2024-03-21 10:23:40 +01:00
parent a02870f2f8
commit 784173e9ee
1 changed files with 11 additions and 7 deletions

View File

@ -10,19 +10,23 @@ jobs:
checkout_repository:
runs-on: ubuntu-latest
container:
image: moby/buildkit:latest
image: gitea/act_runner:nightly-dind-rootless
steps:
- name: Install Git
run: apt-get update && apt-get install -y git
- name: Checkout Repository
run: git clone -b dev --depth 1 https://ncaron:6744954b4a3a43422e62e8d110f90de527ce094d@git.coopgo.io/coopgo-platform/mobility-accounts .
uses: actions/checkout@v2
- name: Login to Docker Registry
uses: docker/login-action@v2
with:
registry: git.coopgo.io
username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d
- 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
docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN_US
# login_docker_registry:
# runs-on:
# group: ubuntu-latest