Skip to content

Commit a7ee786

Browse files
committed
Add tag to build and adapt ref
1 parent 9e91e0d commit a7ee786

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-push-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
name: Build and Push the Docker Images
1717
uses: ls1intum/.github/.github/workflows/build-and-push-docker-image.yml@main
1818
with:
19-
ref: ${{ github.event.release.tag_name }}
19+
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
2020
docker-file: docker/Dockerfile
2121
docker-context: docker
2222
image-name: ls1intum/eos
23+
tags: |
24+
type=ref,event=tag
2325
2426
test-solution:
2527
name: Run Tests for Solution

0 commit comments

Comments
 (0)