-
Notifications
You must be signed in to change notification settings - Fork 1
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
publish multi-arch docker image #19
Conversation
.github/workflows/deploy.yml
Outdated
@@ -64,7 +65,7 @@ jobs: | |||
password: ${{ secrets.GITHUB_TOKEN }} | |||
|
|||
- name: Deploy 🚀 | |||
run: nix run .#publish-docker-image ${{ github.ref }} | |||
run: nix run .#publish-docker-image refs/heads/multiarch-docker-image |
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.
Reminder to revert this.
writeShellApplication { | ||
name = "publish-docker-image"; | ||
runtimeInputs = [ coreutils git buildah ]; | ||
text = '' |
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.
This is a new kind of crime I had not previously considered.
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.
Hey, it's really convenient to be able to interpolate nix values into the script! Plus if you have the right editor setup the shell script syntax highlighting and indentation work correctly.
Ticket: https://hasurahq.atlassian.net/browse/MDB-49