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

publish multi-arch docker image #19

Merged
merged 9 commits into from
Mar 27, 2024
Merged

publish multi-arch docker image #19

merged 9 commits into from
Mar 27, 2024

Conversation

hallettj
Copy link
Collaborator

@hallettj hallettj commented Mar 27, 2024

@hallettj hallettj self-assigned this Mar 27, 2024
@@ -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

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 = ''

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.

Copy link
Collaborator Author

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.

@hallettj hallettj merged commit aa82502 into main Mar 27, 2024
1 check passed
@hallettj hallettj deleted the multiarch-docker-image branch March 27, 2024 22:56
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