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

This commit is contained in:
Nicolas CARON 2024-03-22 10:06:50 +01:00
parent 4fedd2a72f
commit 12b02788fc
1 changed files with 15 additions and 15 deletions

View File

@ -21,15 +21,15 @@ jobs:
with:
build_file: Dockerfile
registry: git.coopgo.io
username: ${{DOCKER_USERNAME}}
password: ${{DOCKER_PASSWORD}}
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}
image: coopgo-platform/mobility-accounts
tag: test
cache: true
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
extra-args: |
ACCESS_TOKEN_USR=${{DOCKER_USERNAME}}
ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
ACCESS_TOKEN_PWD=${{secrets.DOCKER_PASSWORD}}
@ -49,8 +49,8 @@ jobs:
# containerfiles: |
# ./Dockerfile
# build-args: |
# ACCESS_TOKEN_USR=${{DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
# ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{secrets.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: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# username: ${{secrets.DOCKER_USERNAME}}
# password: ${{secrets.DOCKER_PASSWORD}}
# DOCKER
# - name: Install Docker
@ -72,8 +72,8 @@ jobs:
# uses: docker/login-action@v2
# with:
# registry: git.coopgo.io
# username: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# username: ${{secrets.DOCKER_USERNAME}}
# password: ${{secrets.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=${{DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}}
# ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{secrets.DOCKER_PASSWORD}}
# login_docker_registry:
# runs-on:
@ -103,8 +103,8 @@ jobs:
# uses: docker/login-action@v2
# with:
# registry: git.coopgo.io
# username: ${{DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}}
# username: ${{secrets.DOCKER_USERNAME}}
# password: ${{secrets.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=${{DOCKER_USERNAME}} --build-arg ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}} .
# docker build -t git.coopgo.io/coopgo-platform/mobility-accounts:test --build-arg ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}} --build-arg ACCESS_TOKEN_PWD=${{secrets.DOCKER_PASSWORD}} .