Skip to content

Release

Release #15

Workflow file for this run

name: Release
on:
push:
branches:
- "!**/*"
tags:
- "v*"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: setup QEMU
uses: docker/setup-qemu-action@v1
- name: setup Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Docker Login
uses: docker/login-action@v1
with:
username: fujiwara
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Login
uses: docker/login-action@v1
with:
registry: ghcr.io
username: $GITHUB_ACTOR
password: ${{ secrets.GITHUB_TOKEN }}
- name: docker
run: |
PATH=~/bin:$PATH make docker-push