Skip to content

Commit

Permalink
fixing docker push to new registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciejo committed Jul 25, 2024
1 parent cdbbdad commit c3d9b8a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
nix run .#generate-release-artifacts --print-build-logs
COMPOSABLE_VERSION=$(nix eval --raw .#composable-node.version)
docker load --input release-artifacts/composable-image
docker tag composable:latest "${{ env.DOCKER_REGISTRY_NAME }}/composable:v$COMPOSABLE_VERSION"
docker tag composable:latest "${{ env.DOCKER_REGISTRY_NAME }}/composable:latest-prerelease"
docker push "${{ env.DOCKER_REGISTRY_NAME }}/composable:v$COMPOSABLE_VERSION"
docker push "${{ env.DOCKER_REGISTRY_NAME }}/composable:latest-prerelease"
docker tag composable:latest "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:v$COMPOSABLE_VERSION"
docker tag composable:latest "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-prerelease"
docker push "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:v$COMPOSABLE_VERSION"
docker push "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-prerelease"
docker load --input release-artifacts/devnet-image
docker tag devnet:latest "${{ env.DOCKER_REGISTRY_NAME }}/devnet:v$COMPOSABLE_VERSION"
docker tag devnet:latest "${{ env.DOCKER_REGISTRY_NAME }}/devnet:latest-prerelease"
docker push "${{ env.DOCKER_REGISTRY_NAME }}/devnet:v$COMPOSABLE_VERSION"
docker push "${{ env.DOCKER_REGISTRY_NAME }}/devnet:latest-prerelease"
docker tag devnet:latest "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/devnet:v$COMPOSABLE_VERSION"
docker tag devnet:latest "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/devnet:latest-prerelease"
docker push "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/devnet:v$COMPOSABLE_VERSION"
docker push "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/devnet:latest-prerelease"
- name: Release artifacts
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit c3d9b8a

Please sign in to comment.