Skip to content

update goreleaser to have correct binary name #12

update goreleaser to have correct binary name

update goreleaser to have correct binary name #12

Workflow file for this run

name: Build and Push Local Provisioner
on:
push:
# Pattern matched against refs/tags
tags:
- "*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.PUBLIC_DOCKER_HUB_USERNAME }}
password: ${{ secrets.PUBLIC_DOCKER_HUB_ACCESS_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ secrets.PUBLIC_DOCKER_HUB_USERNAME }}/local-terraform-provisioner
tags: |
type=semver,pattern={{version}}
- name: Build and push
uses: docker/build-push-action@v5
with:
file: Dockerfile.Prov
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}