Remove tag push from GitHub Actions workflow and disable related build step in favor of using GitHub releases for versioning.

This commit is contained in:
Don-Swanson 2025-11-26 16:08:37 -06:00
parent 0f000a676b
commit 71a2c10e58
No known key found for this signature in database
GPG key ID: C6A6ACD574A005E5

View file

@ -6,9 +6,6 @@ on:
branches: [main, updates]
types:
- completed
push:
tags:
- '*'
release:
types:
- published
@ -76,10 +73,11 @@ jobs:
--tag benbusby/whoogle-search:${VERSION} \
--tag ghcr.io/benbusby/whoogle-search:${VERSION} \
--platform linux/amd64,linux/arm/v7,linux/arm64 .
- name: build and push tag
if: startsWith(github.ref, 'refs/tags')
run: |
docker buildx build --push \
--tag benbusby/whoogle-search:${GITHUB_REF#refs/*/v} \
--tag ghcr.io/benbusby/whoogle-search:${GITHUB_REF#refs/*/v} \
--platform linux/amd64,linux/arm/v7,linux/arm64 .
# Disabled: Use GitHub releases instead (triggers release or pre-release workflows above)
# - name: build and push tag
# if: startsWith(github.ref, 'refs/tags')
# run: |
# docker buildx build --push \
# --tag benbusby/whoogle-search:${GITHUB_REF#refs/*/v} \
# --tag ghcr.io/benbusby/whoogle-search:${GITHUB_REF#refs/*/v} \
# --platform linux/amd64,linux/arm/v7,linux/arm64 .