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

This commit is contained in:
Nicolas CARON 2024-03-22 10:05:07 +01:00
parent 0c7d2f22b7
commit 4fedd2a72f
1 changed files with 16 additions and 16 deletions

View File

@ -21,15 +21,15 @@ jobs:
with:
build_file: Dockerfile
registry: git.coopgo.io
username: ncaron
password: 6744954b4a3a43422e62e8d110f90de527ce094d
username: ${{DOCKER_USERNAME}}
password: ${{DOCKER_PASSWORD}}
image: coopgo-platform/mobility-accounts
tag: latest
tag: test
cache: true
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
extra-args: |
ACCESS_TOKEN_USR=ncaron
ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
ACCESS_TOKEN_USR=${{DOCKER_USERNAME}}
ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
@ -49,8 +49,8 @@ jobs:
# containerfiles: |
# ./Dockerfile
# build-args: |
# ACCESS_TOKEN_USR=ncaron
# ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
# ACCESS_TOKEN_USR=${{DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
# - name: Push To Registry
# id: push-to-registry
@ -59,8 +59,8 @@ jobs:
# image: ${{ steps.build-image.outputs.image }}
# tags: ${{ steps.build-image.outputs.tags }}
# registry: git.coopgo.io
# username: ncaron
# password: 6744954b4a3a43422e62e8d110f90de527ce094d
# username: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# DOCKER
# - name: Install Docker
@ -72,8 +72,8 @@ jobs:
# uses: docker/login-action@v2
# with:
# registry: git.coopgo.io
# username: ncaron
# password: 6744954b4a3a43422e62e8d110f90de527ce094d
# username: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
@ -87,8 +87,8 @@ jobs:
# push: true
# tags: git.coopgo.io/coopgo-platform/mobility-accounts:test
# build-args: |
# ACCESS_TOKEN_USR=ncaron
# ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
# ACCESS_TOKEN_USR=${{DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
# login_docker_registry:
# runs-on:
@ -103,8 +103,8 @@ jobs:
# uses: docker/login-action@v2
# with:
# registry: git.coopgo.io
# username: ncaron
# password: 6744954b4a3a43422e62e8d110f90de527ce094d
# username: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# - name: Check folders
# run: |
@ -144,4 +144,4 @@ jobs:
# - name: Build and Push Docker Image
# run: |
# docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN_USR=ncaron --build-arg ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d .
# docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN_USR=${{DOCKER_USERNAME}} --build-arg ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}} .