Skip to content

Workflow file for this run

name: Build image from release tag
on:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker Login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_REGISTRY_USER }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m -p bugs -p unused
- name: Build the Docker images
run: |
export GIT_TAG_NAME=${GITHUB_REF##*/}
make dockerimages
make dockerpush