Skip to content

Commit a4d8e07

Browse files
committed
ci: test
1 parent 2694d11 commit a4d8e07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/tests.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ env:
1313
REGISTRY: ghcr.io
1414
API_IMAGE_PATH: ${{ github.repository }}/api
1515
WEB_IMAGE_PATH: ${{ github.repository }}/web
16+
image-tags: v1.5.1,latest
17+
image-tags-2: latest
1618

1719
jobs:
1820
api-unit-tests:
@@ -49,6 +51,13 @@ jobs:
4951
username: ${{ github.actor }}
5052
password: ${{ secrets.GITHUB_TOKEN }}
5153

54+
- name: "Setup: Create tags"
55+
run: |
56+
echo docker_tags=$(${{ env.image-tags }} | sed "s|\([^,]*\)|${{ env.REGISTRY }}/${{ env.API_IMAGE_PATH }}:\1|g") >> "$GITHUB_ENV"
57+
58+
- name: "Setup: print tags"
59+
run: echo "$docker_tags"
60+
5261
# - name: "Setup: Docker Buildx"
5362
# uses: docker/setup-buildx-action@v3
5463
#

0 commit comments

Comments
 (0)