Skip to content

Commit

Permalink
Use podman instead of copy-to
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mueller committed Jan 8, 2025
1 parent f45e213 commit bb99d10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ jobs:
run: nix build --accept-flake-config .#containers.x86_64-linux.wst.copyTo
- name: Publish image with podman
run: |
./result/bin/copy-to containers-storage:ghcr.io/input-output-hk/wst-test
./result/bin/copy-to oci-archive:oci.tar
podman save oci.tar ghcr.io/input-output-hk/wst-test
podman push ghcr.io/input-output-hk/wst-test
4 changes: 4 additions & 0 deletions nix/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ in rec {
name = "wst";
config = {
Entrypoint = lib.singleton (lib.getExe inputs.self.packages.wst-poc-cli);
Labels = {
"org.opencontainers.image.source" = "https://github.com/input-output-hk/wsc-poc";
"org.opencontainers.image.description" = "Programmable token and regulated stablecoin proof-of-concept";
};
};
layers = [
(inputs.n2c.packages.nix2container.buildLayer {
Expand Down

0 comments on commit bb99d10

Please sign in to comment.