mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 02:15:12 +00:00
34 lines
703 B
YAML
34 lines
703 B
YAML
name: publish
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
env:
|
|
GO_VERSION: "1.24"
|
|
DOCKER_REGISTRY: "quay.io"
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
|
|
- name: Login to Docker Registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
username: ${{ secrets.QUAY_IO_USER }}
|
|
password: ${{ secrets.QUAY_IO_TOKEN }}
|
|
|
|
- name: Build and Push docker image
|
|
run: DOCKER_TAG=edge make docker push
|