Skip to content

ci: Add docker build and push steps on the release-please pipeline #289

ci: Add docker build and push steps on the release-please pipeline

ci: Add docker build and push steps on the release-please pipeline #289

Workflow file for this run

name: Build on branch
on:
push:
branches-ignore:
- "main"
jobs:
cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref_name }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ inputs.GO_VERSION }}
- name: build and deploy on pr
run: go run main.go onbranch --stop-on-push
env:
INITIUM_APP_NAME: initium-cli
INITIUM_REGISTRY_USER: ${{ github.actor }}
INITIUM_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}