Skip to content

Bump docker/setup-qemu-action from 1 to 3 (#20) #32

Bump docker/setup-qemu-action from 1 to 3 (#20)

Bump docker/setup-qemu-action from 1 to 3 (#20) #32

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@v1
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
logout: false
- name: Checkout
uses: actions/checkout@v2
- 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@v2
with:
context: .
push: true
tags: ghcr.io/snorwin/haproxy:latest
platforms: linux/amd64
build-args: |
VERSION=main
HASH=${{ github.sha }}