Updated build stage
Build and push image / Build and push image (push) Failing after 11s Details

This commit is contained in:
Aditya Prima 2024-03-21 16:14:14 +07:00
parent e27bbb6ff8
commit bed4a39910
1 changed files with 6 additions and 1 deletions

View File

@ -13,18 +13,23 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Create Kubeconfig
run: |
mkdir $HOME/.kube
echo "${{ secrets.KUBECONFIG }}" > $HOME/.kube/config
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: kubernetes
driver-opts: |
namespace=gitea
qemu.install=true
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: git.winteraccess.id
username: ${{ gitea.actor }}
password: ${{ secrets.GITEATOKEN }}
password: ${{ secrets.PATOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with: