Skip to content

remove GCP publishing (#414) #4

remove GCP publishing (#414)

remove GCP publishing (#414) #4

Workflow file for this run

name: build
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
# Publish `main` as Docker `latest` image.
branches:
- main
- dev
- dev-*
- release-*
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for all PRs
pull_request:
jobs:
build:
uses: gertd/workflows/.github/workflows/go-build.yaml@main
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/heads/dev-') || startsWith(github.ref, 'refs/tags/v') )
uses: gertd/workflows/.github/workflows/go-release.yaml@main
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}