Skip to content

0.0.36

0.0.36 #38

Workflow file for this run

name: golangci-lint-publish
on:
release:
types: [ published ]
jobs:
build:
env:
registry_name: quay.io/mittwald/golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: quay.io/mittwald/golangci-lint
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USER }}
password: ${{ secrets.QUAY_IO_TOKEN }}
- name: Build and publish image to Quay
uses: docker/build-push-action@v2
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64