refac(workflow): use matrix to compile different docker images #740

Merged
techknowlogick merged 4 commits from DaanSelen/act_runner:matrix-workflow into main 2025-08-22 23:49:20 +00:00
Member

I have made this to speed up and make it more robust.

The matrix executes the jobs in parallel, doing some things perhaps double. But making overall management easier due to the simple defined variables at the top of the matrix declaration.

I have made this to speed up and make it more robust. The matrix executes the jobs in parallel, doing some things perhaps double. But making overall management easier due to the simple defined variables at the top of the matrix declaration.
DaanSelen added 3 commits 2025-08-22 13:32:17 +00:00
DaanSelen reviewed 2025-08-22 13:38:33 +00:00
@@ -8,0 +10,4 @@
- '*'
env:
DOCKER_ORG: dselen
Author
Member

Oh yeah that needs to change.

Oh yeah that needs to change.
DaanSelen marked this conversation as resolved
@@ -61,2 +71,2 @@
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo REPO_VERSION=${GITHUB_REF_NAME#v} >> $GITHUB_OUTPUT
- name: Echo the tag
run: echo "${{ env.DOCKER_ORG }}/act_runner:nightly${{ matrix.variant.tag_suffix }}"
Author
Member

The tags for the nightly release are rather static looking at https://hub.docker.com/r/gitea/act_runner/tags?name=nightly

The tags for the nightly release are rather static looking at https://hub.docker.com/r/gitea/act_runner/tags?name=nightly
@@ -63,3 +73,3 @@
- name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
Author
Member

Bump

Bump
DaanSelen added 1 commit 2025-08-22 13:39:15 +00:00
chore(workflow): set gitea as the org/user on the docker tag
All checks were successful
checks / check and test (pull_request) Successful in 48s
e5caa1978a
techknowlogick approved these changes 2025-08-22 23:49:06 +00:00
techknowlogick merged commit 46f471a900 into main 2025-08-22 23:49:20 +00:00
Author
Member

Hello @techknowlogick I assume you tested it also and are happy with the results? I would love to hear if this is wanted in the actual release.

Hello @techknowlogick I assume you tested it also and are happy with the results? I would love to hear if this is wanted in the actual release.
Sign in to join this conversation.