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: with:
build_file: Dockerfile build_file: Dockerfile
registry: git.coopgo.io registry: git.coopgo.io
username: ${{DOCKER_USERNAME}} username: ${{secrets.DOCKER_USERNAME}}
password: ${{DOCKER_PASSWORD}} password: ${{secrets.DOCKER_PASSWORD}}
image: coopgo-platform/mobility-accounts image: coopgo-platform/mobility-accounts
tag: test 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=${{DOCKER_USERNAME}} ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}} ACCESS_TOKEN_PWD=${{secrets.DOCKER_PASSWORD}}
@ -49,8 +49,8 @@ jobs:
# containerfiles: | # containerfiles: |
# ./Dockerfile # ./Dockerfile
# build-args: | # build-args: |
# ACCESS_TOKEN_USR=${{DOCKER_USERNAME}} # ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}} # ACCESS_TOKEN_PWD=${{secrets.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: ${{DOCKER_USERNAME}} # username: ${{secrets.DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}} # password: ${{secrets.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: ${{DOCKER_USERNAME}} # username: ${{secrets.DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}} # password: ${{secrets.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=${{DOCKER_USERNAME}} # ACCESS_TOKEN_USR=${{secrets.DOCKER_USERNAME}}
# ACCESS_TOKEN_PWD=${{DOCKER_PASSWORD}} # ACCESS_TOKEN_PWD=${{secrets.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: ${{DOCKER_USERNAME}} # username: ${{secrets.DOCKER_USERNAME}}
# password: ${{DOCKER_PASSWORD}} # password: ${{secrets.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=${{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}} .