set kubeconfig env
Build and Push Image / Build and push image (push) Failing after 35s
Details
Build and Push Image / Build and push image (push) Failing after 35s
Details
This commit is contained in:
parent
68745861e5
commit
a6e9b2c404
|
@ -1,6 +1,9 @@
|
|||
name: Build and Push Image
|
||||
on: [ push ]
|
||||
|
||||
env:
|
||||
KUBECONFIG: ${{ secrets.KUBECONFIG_BUILDX }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push image
|
||||
|
@ -10,9 +13,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Tools
|
||||
run: sudo apt-get -y update && sudo apt-get -y install docker
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
|
@ -23,7 +23,6 @@ jobs:
|
|||
- name: Login to Docker Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
endpoint: tcp://docker:2376
|
||||
registry: git.tbrnt.ch
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
@ -31,7 +30,6 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
endpoint: tcp://docker:2376
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
|
|
Loading…
Reference in New Issue