Skip to content

Commit 65e4dc2

Browse files
committed
Change ELX build workflow to only trigger on tags
1 parent 5b34c9e commit 65e4dc2

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/docker-build.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ name: docker-build
22
on:
33
pull_request: {}
44
push:
5-
branches:
6-
- "elx-vault-main"
5+
# branches:
6+
# - "elx-vault-main"
7+
tags:
8+
- ELX.*
79

810
env:
911
IMAGE_NAME: elx-vault
@@ -18,7 +20,7 @@ jobs:
1820
steps:
1921
- uses: actions/checkout@v5
2022
- name: Build image
21-
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
23+
run: docker build . --file Dockerfile.release --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
2224
- name: Log in to registry
2325
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
2426

0 commit comments

Comments
 (0)