Skip to content

Commit e9c2c78

Browse files
authored
[Bugfix:Developer] Fix fork Docker org name (#44)
### Please check if the PR fulfills these requirements: * [ ] Tests for the changes have been added/updated (if possible) * [ ] Documentation has been updated/added if relevant ### What is the current behavior? On PRs from forks, the Docker repo variable will not be sent to the GitHub action. This causes the action to fail since it is missing a required argument. ### What is the new behavior? The action does not fail as the org name is now present.
1 parent 44f92f0 commit e9c2c78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/docker-build-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
uses: submitty/action-docker-build/.github/workflows/[email protected]
1111
with:
1212
push: false
13-
docker_org_name: ${{ vars.docker_org_name }}
13+
docker_org_name: submitty
1414
base_commit: ${{ github.event.pull_request.base.sha }}
1515
head_commit: ${{ github.event.pull_request.head.sha }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
uses: submitty/action-docker-build/.github/workflows/[email protected]
1111
with:
1212
push: true
13-
docker_org_name: ${{ vars.docker_org_name }}
13+
docker_org_name: submitty
1414
base_commit: ${{ github.event.before }}
1515
head_commit: ${{ github.event.after }}
1616
secrets:

0 commit comments

Comments
 (0)