mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-03-11 08:54:34 +00:00
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:
parent
0f000a676b
commit
71a2c10e58
1 changed files with 8 additions and 10 deletions
18
.github/workflows/buildx.yml
vendored
18
.github/workflows/buildx.yml
vendored
|
|
@ -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 .
|
||||
Loading…
Reference in a new issue