Skip to content

Commit

Permalink
Merge pull request #3 from kurtosis-tech/egomes/publish-cli
Browse files Browse the repository at this point in the history
feat: publish images
  • Loading branch information
lostbean authored Jun 27, 2024
2 parents fbd8035 + de3385f commit 3375f2a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,26 @@ jobs:
run: |
nix build ./#containers.x86_64-linux.kardinal-manager.arm64 --no-link --print-out-paths
nix build ./#containers.x86_64-linux.kardinal-manager.amd64 --no-link --print-out-paths
- name: Build Kardinal CLI images
run: |
nix build ./#containers.x86_64-linux.kardinal-cli.arm64 --no-link --print-out-paths
nix build ./#containers.x86_64-linux.kardinal-cli.amd64 --no-link --print-out-paths
- name: Build Redis Sidecar images
run: |
nix build ./#containers.x86_64-linux.redis-proxy-overlay.arm64 --no-link --print-out-paths
nix build ./#containers.x86_64-linux.redis-proxy-overlay.amd64 --no-link --print-out-paths
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Publish images
if: github.ref == 'refs/heads/main'
run: |
nix run ./#publish-kardinal-manager-container
nix run ./#publish-kardinal-cli-container
nix run ./#publish-redis-proxy-overlay-container
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[<img src="https://img.shields.io/badge/dockerhub-images-important.svg?logo=docker">](https://hub.docker.com/u/kurtosistech)

# Kardinal

## Developing instructions
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
];
};

service_names = ["kardinal-manager" "redis-proxy-overlay"];
service_names = ["kardinal-manager" "kardinal-cli" "redis-proxy-overlay"];
architectures = ["amd64" "arm64"];
imageRegistry = "kurtosistech";

Expand Down

0 comments on commit 3375f2a

Please sign in to comment.