Add the word “Include” before the extra consideration checkboxes #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.18.5' | |
- name: Build app | |
run: GOOS=linux GOARCH=arm64 go build -o main | |
- name: Bump version | |
uses: anothrNick/[email protected] | |
id: bump | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true | |
DRY_RUN: true | |
RELEASE_BRANCHES: main | |
DEFAULT_BUMP: patch | |
# For multi-platform docker builds | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
# Uses docker buildx | |
- uses: docker/setup-buildx-action@v2 | |
id: buildx | |
with: | |
install: true | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
platforms: linux/arm64 | |
push: true | |
tags: ghcr.io/codeforkansascity/reusefull-web-app:${{ steps.bump.outputs.new_tag }} | |
- name: Push tag | |
uses: anothrNick/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WITH_V: true | |
RELEASE_BRANCHES: main | |
DEFAULT_BUMP: patch |