-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify condition to deploy on main #148
Conversation
Use the syntax from the Github Actions documentation https://docs.github.com/en/actions/learn-github-actions/expressions Signed-off-by: Aidan Delaney <adelaney21@bloomberg.net>
Signed-off-by: Aidan Delaney <adelaney21@bloomberg.net>
@@ -42,12 +42,12 @@ jobs: | |||
- name: Build | |||
run: PACK_CMD=./pack make build-linux build-wine | |||
- uses: azure/docker-login@v1 | |||
if: (github.event_name == 'repository_dispatch') || (github.event_name == 'push' && github.ref == 'refs/heads/main') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the dispatch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK this step should run only on the main
branch. The workflow is executed on repository_dispatch, but I believe the step should only run on the main
branch.
Do we know why CircleCI is failing with |
We have not sucessfully published a :jammy image yet, because the GH
workflow keeps skipping the deploy step. Hence, in this PR, we're
simplifying the condition.
…On Mon, 3 Apr 2023, 16:37 Natalie Arellano, ***@***.***> wrote:
Do we know why CircleCI is failing with ERROR: failed to build: failed to
fetch builder image 'index.docker.io/cnbs/sample-builder:jammy': image '
index.docker.io/cnbs/sample-builder:jammy' does not exist on the daemon:
not found?
—
Reply to this email directly, view it on GitHub
<#148 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADHKU55JOYG2GYYD7LRAFTW7LVDJANCNFSM6AAAAAAWOIBVB4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Use the syntax from the Github Actions documentation
https://docs.github.com/en/actions/learn-github-actions/expressions