Some checks failed
Build and Push Proxmox MCP Docker Image / build (push) Failing after 13s
31 lines
696 B
YAML
31 lines
696 B
YAML
name: Build and Push Proxmox MCP Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Login to Gitea Container Registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: gitea.ext.ben.io
|
|
username: ${{ gitea.actor }}
|
|
password: ${{ secrets.CR_PAT }} # Using CR_PAT secret
|
|
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v4
|
|
with:
|
|
context: .
|
|
push: true
|
|
tags: gitea.ext.ben.io/${{ gitea.repository }}:latest
|