Skip to content

Conversation

@till
Copy link
Contributor

@till till commented Mar 31, 2022

  • Fix: CMD stanza
  • Chore: workflow to build docker image from release

For: #12

till added 2 commits March 31, 2022 18:12
CMD doesn't actually support environment variables. So IMO, keep it simple
and suggest overriding with a mount or with a custom (local) Docker image.
Copy link
Contributor Author

@till till left a comment

Choose a reason for hiding this comment

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

Left comments explaining what I was doing. Hope it makes sense. :)


COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/cortex-tenant"]
CMD ["-config", "$CONFIG_FILE"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pretty sure this never worked. It's not supported in CMD. I figured (and of course I can change it) that it's easier to just override it with a mount or with a custom image.

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: macbre/push-to-ghcr@master
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have to admit I haven't used this one before, but it looked simple enough. It should work with the standard GITHUB_TOKEN that github provides. So no need to setup anything.

@blind-oracle blind-oracle merged commit 5e5ae40 into blind-oracle:main Mar 31, 2022
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.

2 participants