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

This commit is contained in:
Nicolas CARON 2024-03-21 10:46:21 +01:00
parent 122d0cf7a7
commit 0411673842
1 changed files with 17 additions and 12 deletions

View File

@ -9,24 +9,29 @@ on:
jobs:
checkout_repository:
runs-on: ubuntu-latest
container:
image: nickos0695/dind-test
steps:
# - name: Checkout Repository
# uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v2
# - name: Login to Docker Registry
# uses: docker/login-action@v2
# with:
# registry: git.coopgo.io
# username: ncaron
# password: 6744954b4a3a43422e62e8d110f90de527ce094d
- 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: |
docker build . -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN_US
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: git.coopgo.io/coopgo-platform/mobility-accounts:test
build-args: |
ACCESS_TOKEN_USR=ncaron
ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
# login_docker_registry:
# runs-on:
# group: ubuntu-latest