Skip to content

Commit 0d46d2b

Browse files
authored
ci: disable docker auto publish (#7615)
1 parent 407ed6e commit 0d46d2b

File tree

2 files changed

+5
-62
lines changed

2 files changed

+5
-62
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/release-manual-docker.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ jobs:
4242
uses: docker/metadata-action@v3
4343
with:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
45+
# The following parameter is modified to manually make pre-releases on the `master` branch;
46+
# change this accordingly before adding release automation.
4547
flavor: |
46-
latest=${{ steps.branch.outputs.branch_name == 'master' && github.event.inputs.ref == '' }}
48+
latest=false
49+
# The following parameter is modified to manually make pre-releases on the `master` branch;
50+
# change this accordingly before adding release automation.
4751
tags: |
4852
type=semver,enable=true,pattern={{version}},value=${{ github.event.inputs.ref }}
49-
type=raw,enable=${{ github.event.inputs.ref == '' }},value=latest
5053
- name: Build and push Docker image
5154
uses: docker/build-push-action@v2
5255
with:

0 commit comments

Comments
 (0)