Skip to content

Commit

Permalink
ORG: NAV-22 - Only trigger publish actions on push of tags
Browse files Browse the repository at this point in the history
munterfi committed Jun 1, 2024
1 parent 8843c16 commit 8a1195d
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ name: Docker publish

on:
push:
branches: [ "main" ]
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+(-.*)?'

@@ -12,7 +11,6 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
@@ -34,6 +32,6 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 0 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ name: Maven publish

on:
push:
branches: [ "main" ]
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+(-.*)?'

0 comments on commit 8a1195d

Please sign in to comment.