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