Skip to content

feat: builds the provider as an image #6

feat: builds the provider as an image

feat: builds the provider as an image #6

Workflow file for this run

name: ☁️ Publish Artifacts
on:
push:
tags:
- v0.*
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
jobs:
artifacts:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: ⬇️ Git clone the repository
uses: actions/checkout@v3
- name: 📦 Install Go
uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: 📦 Build package
run: make build
- name: ☁️ Release
uses: softprops/action-gh-release@v1
with:
files: bin/*
- name: Build Image
run: make package tag=${{ github.ref_name }}
- name: Publish Image
run: |
echo "$DOCKER_PASS" | docker login --username $DOCKER_USERNAME --password-stdin
make push tag=${{ github.ref_name }}