Skip to content
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

Merged
merged 3 commits into from
Apr 5, 2023
Merged

Simplify condition to deploy on main #148

merged 3 commits into from
Apr 5, 2023

Conversation

AidanDelaney
Copy link
Member

Use the syntax from the Github Actions documentation

https://docs.github.com/en/actions/learn-github-actions/expressions

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>
@AidanDelaney AidanDelaney requested a review from a team as a code owner March 31, 2023 07:04
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')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the dispatch?

Copy link
Member Author

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.

@natalieparellano
Copy link
Member

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?

@AidanDelaney
Copy link
Member Author

AidanDelaney commented Apr 3, 2023 via email

@AidanDelaney AidanDelaney merged commit e6c7235 into main Apr 5, 2023
@AidanDelaney AidanDelaney deleted the deploy-on-main branch April 5, 2023 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants