Skip to content

Add 7.5, bump versions #34

Add 7.5, bump versions

Add 7.5, bump versions #34

Workflow file for this run

name: build
on:
push:
tags:
- 20*
workflow_dispatch:
env:
GHCR_IMAGE: ghcr.io/emgag/varnish
GHCR_USER: emgag-service
CONTAINER_PLATFORMS: "linux/amd64,linux/arm64"
jobs:
build:
strategy:
matrix:
version: ["6.0", "7.3", "7.4", "7.5"]
include:
- version: "6.0"
tag: "6.0.13"
- version: "7.3"
tag: "7.3.2"
- version: "7.4"
tag: "7.4.3"
- version: "7.5"
tag: "7.5.0"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build varnish {{ matrix.version }}
run: >
docker buildx build --pull --push
-t ${{ env.GHCR_IMAGE }}:${{ matrix.tag }}
--platform ${{ env.CONTAINER_PLATFORMS }}
${{ matrix.version }}