Skip to content

Merge pull request #260 from apigee/bump-versions #38

Merge pull request #260 from apigee/bump-versions

Merge pull request #260 from apigee/bump-versions #38

Workflow file for this run

# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*' # semver v1.0.0-beta.2
jobs:
release:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Run Goreleaser on Goboring docker image
uses: docker/build-push-action@v1
with:
repository: build/goboring
dockerfile: Dockerfile_releaser
registry: gcr.io
push: false
build_args: GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
# local Goreleaser run would be per below
# -
# name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.16
# -
# name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v2
# with:
# version: latest
# args: release --rm-dist
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}