Skip to content

Commit

Permalink
[ADP-3426] Push docker image to docker hub in release pipeline steps (#…
Browse files Browse the repository at this point in the history
…4770)

This PR tries to solve the fact that during last release process no
image was pushed dockerhub. The dockerhub stuff is messy so I cannot
guarantee it's going to work. OTOH , testing it is not great as we do
not have delete rights on dockerhub and we have to open a ticket to do
it.

- Copy over push to dockerhub step in the release pipeline


ADP-3426
  • Loading branch information
paolino authored Sep 10, 2024
2 parents 75683a8 + 9b3af61 commit b515094
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .buildkite/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,13 @@ steps:
system: x86_64-linux
env:
RELEASE: true

- label: Push Docker Image
depends_on:
- create-release
command:
- "mkdir -p config && echo '{ outputs = _: { dockerHubRepoName = \"cardanofoundation/cardano-wallet\"; }; }' > config/flake.nix"
- "nix build .#pushDockerImage --override-input hostNixpkgs \"path:$(nix eval --impure -I $NIX_PATH --expr '(import <nixpkgs> {}).path')\" --override-input customConfig path:./config -o docker-build-push"
- "./docker-build-push"
agents:
system: x86_64-linux

0 comments on commit b515094

Please sign in to comment.