Skip to content

build(deps): bump github.com/aws/aws-sdk-go from 1.44.289 to 1.44.298… #18

build(deps): bump github.com/aws/aws-sdk-go from 1.44.289 to 1.44.298…

build(deps): bump github.com/aws/aws-sdk-go from 1.44.289 to 1.44.298… #18

Workflow file for this run

name: Release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]-[a-zA-Z0-9]+"
jobs:
dist:
strategy:
matrix:
go: ["1.20.x"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Install nfpm, rpmbuild
run: sudo make -f Makefile.tools nfpm-debian rpmbuild-debian
- name: Make distributables
run: make -f Makefile.release dist
- uses: actions/upload-artifact@v3
with:
name: dist
path: "dist/*"
publish-github-release:
runs-on: ubuntu-latest
permissions:
contents: write
needs: dist
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dist
path: "dist"
- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
generate_release_notes: true
fail_on_unmatched_files: true
files: |
dist/*
publish-dockerhub:
strategy:
matrix:
go: ["1.20.x"]
runs-on: ubuntu-latest
needs: dist
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dist
path: "dist/*"
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Release
run: make -f Makefile.release publish-dockerhub