Files
proxmox-cloud-controller-ma…/.github/workflows/release.yaml
Serge Logvinov 0d89bf5d58 ci: add github checks
Add github actions checks.
2023-04-29 13:32:43 +03:00

34 lines
691 B
YAML

name: Release
on:
push:
tags:
- 'v*'
jobs:
build-publish:
name: "Build image and publish"
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up docker buildx
run: make docker-init
- name: Github registry login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: make images
env:
PUSH: "true"