Try with Buildah
Build and Push Docker Image / checkout_repository (push) Failing after 13s
Details
Build and Push Docker Image / checkout_repository (push) Failing after 13s
Details
This commit is contained in:
parent
3f1d407a8f
commit
a14f418580
|
@ -12,24 +12,49 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Kaniko build and push
|
||||
uses: aevea/action-kaniko@master
|
||||
# BUILDAH
|
||||
- name: Buildah Action
|
||||
uses: redhat-actions/buildah-build@v2
|
||||
id: build-image
|
||||
with:
|
||||
build_file: Dockerfile
|
||||
registry: git.coopgo.io
|
||||
username: ncaron
|
||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
image: coopgo-platform/mobility-accounts
|
||||
tag: latest
|
||||
cache: true
|
||||
cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||
extra-args: |
|
||||
tags: test
|
||||
containerfiles: |
|
||||
./Dockerfile
|
||||
build-args: |
|
||||
ACCESS_TOKEN_USR=ncaron
|
||||
ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
- name: Push To Registry
|
||||
id: push-to-registry
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
with:
|
||||
image: ${{ steps.build-image.outputs.image }}
|
||||
tags: ${{ steps.build-image.outputs.tags }}
|
||||
registry: git.coopgo.io
|
||||
username: ncaron
|
||||
password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
# KANIKO
|
||||
# - name: Kaniko build and push
|
||||
# uses: aevea/action-kaniko@master
|
||||
# with:
|
||||
# build_file: Dockerfile
|
||||
# registry: git.coopgo.io
|
||||
# username: ncaron
|
||||
# password: 6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
# image: coopgo-platform/mobility-accounts
|
||||
# tag: latest
|
||||
# cache: true
|
||||
# cache_registry: git.coopgo.io/coopgo-platform/mobility-accounts/cache
|
||||
# extra-args: |
|
||||
# ACCESS_TOKEN_USR=ncaron
|
||||
# ACCESS_TOKEN_PWD=6744954b4a3a43422e62e8d110f90de527ce094d
|
||||
|
||||
|
||||
# DOCKER
|
||||
# - name: Install Docker
|
||||
# run: |
|
||||
# apt-get update
|
||||
|
|
Loading…
Reference in New Issue