set kubeconfig env
Build and Push Image / Build and push image (push) Failing after 35s Details

This commit is contained in:
Tobias Brunner 2023-11-18 22:46:24 +01:00
parent 68745861e5
commit a6e9b2c404
Signed by: tobru
SSH Key Fingerprint: SHA256:kywVhvCA+MIxL6eBgoQa+BfC/ROJqcfD2bpy1PR6Ebk
1 changed files with 3 additions and 5 deletions

View File

@ -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: |