Skip to content

Commit

Permalink
Merge pull request #769 from input-output-hk/ch1bo/fix-hydraw
Browse files Browse the repository at this point in the history
Fix Hydraw docker image
  • Loading branch information
v0d1ch authored Mar 10, 2023
2 parents 9bed804 + 9304700 commit 31c4cf6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
--label org.opencontainers.image.version=${VERSION_NAME:-unstable} \
--tag ${IMAGE_NAME}:unstable -
# Also tag with semver and 'latest' if we are building a tag
[[ ${BUILDING_TAG} = true ]] && \
docker tag ${IMAGE_NAME}:unstable ${IMAGE_NAME}:${{github.ref_name}} \
[[ ${BUILDING_TAG} = true && ${{matrix.target}} != "hydraw" ]] && \
docker tag ${IMAGE_NAME}:unstable ${IMAGE_NAME}:${{github.ref_name}}
[[ ${BUILDING_TAG} = true] ]] && \
docker tag ${IMAGE_NAME}:unstable ${IMAGE_NAME}:latest
docker images
docker inspect ${IMAGE_NAME}:unstable
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
7 changes: 7 additions & 0 deletions nix/hydra/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ in
created = "now";
config = {
Entrypoint = [ "${hydraPackages.hydraw-static}/bin/hydraw" ];
WorkingDir = "/static";
};
copyToRoot = [
(pkgs.runCommand "hydraw-static-files" { } ''
mkdir $out
ln -s ${../../hydraw/static} $out/static
'')
];
};
}

0 comments on commit 31c4cf6

Please sign in to comment.