Skip to content

Commit

Permalink
Drop Varnish Legacy (6.5) builds
Browse files Browse the repository at this point in the history
  • Loading branch information
navarr authored Jul 29, 2024
1 parent 6d5856d commit 5c86977
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/varnish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,45 +109,3 @@ jobs:
build-args: VARNISH_VERSION=${{ env.VARNISH_VERSION }}
push: ${{ github.ref == 'refs/heads/main' && !env.ACT }}
tags: ghcr.io/${{ github.repository_owner }}/varnish:${{ matrix.version }},wardenenv/varnish:${{matrix.version}}

varnish-legacy:
name: Varnish Legacy
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
version:
- "6.5"

steps:
- uses: actions/checkout@v3
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2

- name: Login to Github Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
if: ${{ !env.ACT }}

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: ${{ !env.ACT }}

- name: Configure RPM repository
run: echo "VARNISH_VERSION=$(echo ${{ matrix.version }} | tr -d .)" >> $GITHUB_ENV

- uses: docker/build-push-action@v3
with:
context: varnish
file: varnish/Dockerfile.legacy
platforms: linux/amd64, linux/arm64
build-args: VARNISH_VERSION=${{ env.VARNISH_VERSION }}
push: ${{ github.ref == 'refs/heads/main' && !env.ACT }}
tags: ghcr.io/${{ github.repository_owner }}/varnish:${{ matrix.version }},wardenenv/varnish:${{matrix.version}}

0 comments on commit 5c86977

Please sign in to comment.