[go: up one dir, main page]

Skip to content

Support attaching/detaching volumes on create/update instance (#466) #230

Support attaching/detaching volumes on create/update instance (#466)

Support attaching/detaching volumes on create/update instance (#466) #230

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "v*.*.*"
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
# - name: Set up Snapcraft
# run: |
# sudo apt-get -yq --no-install-suggests --no-install-recommends install snapcraft
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Snapcraft Login
# env:
# SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }}
# run: |
# snapcraft login --with <(echo "$SNAPCRAFT_LOGIN")
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
version: '~> v1'
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}