Skip to content

Bump golangci/golangci-lint-action from 2 to 6 (#24) #35

Bump golangci/golangci-lint-action from 2 to 6 (#24)

Bump golangci/golangci-lint-action from 2 to 6 (#24) #35

Workflow file for this run

name: Publish (main)
on:
push:
branches: main
jobs:
image:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: false
- name: Checkout
uses: actions/checkout@v4
- name: Modify Dockerfile
run: |
sed -i -e "s|%VERSION%|latest|g" Dockerfile
- name: Build and push
id: docker_build_master
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/snorwin/haproxy:latest
platforms: linux/amd64
build-args: |
VERSION=main
HASH=${{ github.sha }}