Skip to content

v0.2.0

v0.2.0 #6

name: Release Artifacts
on:
release:
types: [published]
jobs:
release:
name: release-artifacts
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-go@v4
with:
go-version: 1.21
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/maruina/aws-auth-manager
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=tag
type=sha
- name: Login to GitHub Packages
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build a docker image
uses: docker/[email protected]
with:
file: Dockerfile
context: .
platforms: linux/amd64,linux/arm64,linux/arm
tags: ${{ steps.meta.outputs.tags }}
push: true