Skip to content

Commit d959cb8

Browse files
committed
build: only build on main brnach with tags
1 parent 2eb6ff9 commit d959cb8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/publish-dockerimage.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- name: Extract tag name
3030
id: tag
3131
shell: bash
32-
if: github.ref_type == 'tag'
3332
run: |
3433
if [[ ${{ github.ref }} == refs/tags/* ]]; then
3534
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
@@ -49,12 +48,6 @@ jobs:
4948
username: ${{ secrets.DOCKER_USERNAME }}
5049
password: ${{ secrets.DOCKER_PASSWORD }}
5150

52-
- name: Extract metadata (tags, labels) for Docker
53-
id: meta
54-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
55-
with:
56-
images: digitalenvironments/hawki
57-
5851
- name: Build and push Docker image
5952
id: push
6053
uses: docker/build-push-action@v6.15.0

0 commit comments

Comments
 (0)