Skip to content

Commit

Permalink
use gha for release
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck committed Oct 13, 2023
1 parent d236725 commit 4ab075d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/puckpuck/seashell:${{ github.event.release.tag_name }}
ghcr.io/puckpuck/seashell:latest
puckpuck/seashell:${{ github.event.release.tag_name }}
puckpuck/seashell:latest
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
VERSION=$(shell cat version.txt)
VERSION?=dev

build:
docker build -t puckpuck/seashell:$(VERSION) .

push: build
docker push puckpuck/seashell:$(VERSION)

push-all: build
docker push puckpuck/seashell:$(VERSION)
docker tag puckpuck/seashell:$(VERSION) puckpuck/seashell:latest
docker push puckpuck/seashell:latest

deploy:
kubectl apply -f seashell.yaml

run: build
docker run -it --rm puckpuck/seashell:$(VERSION) /bin/bash
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,22 @@ You are encouraged to modify the ClusterRole to restrict to specific resources b

## Utilities
The image is based on [jonlabelle/network-tools](https://github.com/jonlabelle/docker-network-tools).
Uses `9d41292d4bc3` digest published on: 2023-01-21.
Several utilities are installed including:
- telnet
- wget
- curl
- awk
- jq
- yq
- jless
- git
- tcpdump
- dig
- nslookup
- ping
- traceroute
- netstat
- stress
- ... and more

## Accessing the Kubernetes API and Kubelet
Expand Down
2 changes: 1 addition & 1 deletion seashell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
serviceAccountName: seashell
containers:
- name: seashell
image: puckpuck/seashell:0.1
image: puckpuck/seashell:latest
env:
- name: NODE_NAME
valueFrom:
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit 4ab075d

Please sign in to comment.