Skip to content

studio: update docker prod #67

studio: update docker prod

studio: update docker prod #67

Workflow file for this run

name: Release CI
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Use Go
uses: actions/setup-go@v2
id: setup_go
with:
go-version: "1.20"
- name: Cache go-modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Login Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u deshetti --password-stdin
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}