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

Fixing context path #76

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Fixing context path #76

merged 1 commit into from
Feb 9, 2024

Conversation

BretFisher
Copy link
Owner

Fixing a reusable workflow call. The docker build-push-action uses "git context" rather than the typical actions/checkout to clone the repo for building. When a subdir is needed as the build context in this case, the field has a special format:

context: "{{defaultContext}}:subdir"

https://github.com/docker/build-push-action?tab=readme-ov-file#git-context

@BretFisher BretFisher self-assigned this Feb 9, 2024
@BretFisher BretFisher added the bug label Feb 9, 2024
Copy link

github-actions bot commented Feb 9, 2024

Docker image tag(s) pushed:

bretfisher/examplevotingapp_worker:gha-7850539360
bretfisher/examplevotingapp_worker:pr-76
ghcr.io/bretfisher/example-voting-app-worker:gha-7850539360
ghcr.io/bretfisher/example-voting-app-worker:pr-76 

Labels added to images:

org.opencontainers.image.created=2024-02-09T22:57:27.827Z
org.opencontainers.image.description=Example Docker Compose app
org.opencontainers.image.licenses=Apache-2.0
org.opencontainers.image.revision=ade310f8c2ae78a703db0c3996f1ea8f7c63894c
org.opencontainers.image.source=https://github.com/BretFisher/example-voting-app
org.opencontainers.image.title=example-voting-app
org.opencontainers.image.url=https://github.com/BretFisher/example-voting-app
org.opencontainers.image.version=gha-7850539360

@BretFisher
Copy link
Owner Author

I'll fix the npm install fail during result build in a future PR.

@BretFisher BretFisher merged commit cf79201 into main Feb 9, 2024
5 of 8 checks passed
@BretFisher BretFisher deleted the gha-build-context-fix branch February 9, 2024 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant