Skip to content

Commit cd4b543

Browse files
authored
fix(ci): Fix marker sytnax and make the docker CI conditional (#321)
1 parent 771e7f7 commit cd4b543

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/docker-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ permissions:
1111
jobs:
1212
build:
1313
name: Build and Push Images
14+
# Skip for release PRs to avoid double building with release workflow.
15+
if: |
16+
github.event_name == 'workflow_dispatch' || (
17+
github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'release')
18+
)
1419
strategy:
1520
matrix:
1621
image: [etl-api, etl-replicator]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
USER="${{ vars.DOCKERHUB_USERNAME }}"
129129
TAG="${{ needs.version.outputs.tag }}"
130130
{
131-
echo "body<<'MARKER'"
131+
echo "body<<MARKER"
132132
echo "Release ${TAG}"
133133
echo
134134
echo "Docker images published:"

0 commit comments

Comments
 (0)