Skip to content

Commit 4ab075d

Browse files
committed
use gha for release
1 parent d236725 commit 4ab075d

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ jobs:
3535
platforms: linux/amd64,linux/arm64
3636
tags: |
3737
ghcr.io/puckpuck/seashell:${{ github.event.release.tag_name }}
38+
ghcr.io/puckpuck/seashell:latest
3839
puckpuck/seashell:${{ github.event.release.tag_name }}
40+
puckpuck/seashell:latest

Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
VERSION=$(shell cat version.txt)
1+
VERSION?=dev
22

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

66
push: build
77
docker push puckpuck/seashell:$(VERSION)
88

9-
push-all: build
10-
docker push puckpuck/seashell:$(VERSION)
11-
docker tag puckpuck/seashell:$(VERSION) puckpuck/seashell:latest
12-
docker push puckpuck/seashell:latest
13-
149
deploy:
1510
kubectl apply -f seashell.yaml
11+
12+
run: build
13+
docker run -it --rm puckpuck/seashell:$(VERSION) /bin/bash

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,22 @@ You are encouraged to modify the ClusterRole to restrict to specific resources b
1111

1212
## Utilities
1313
The image is based on [jonlabelle/network-tools](https://github.com/jonlabelle/docker-network-tools).
14-
Uses `9d41292d4bc3` digest published on: 2023-01-21.
1514
Several utilities are installed including:
1615
- telnet
1716
- wget
1817
- curl
1918
- awk
2019
- jq
20+
- yq
21+
- jless
2122
- git
2223
- tcpdump
2324
- dig
2425
- nslookup
2526
- ping
2627
- traceroute
2728
- netstat
29+
- stress
2830
- ... and more
2931

3032
## Accessing the Kubernetes API and Kubelet

seashell.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
serviceAccountName: seashell
6464
containers:
6565
- name: seashell
66-
image: puckpuck/seashell:0.1
66+
image: puckpuck/seashell:latest
6767
env:
6868
- name: NODE_NAME
6969
valueFrom:

version.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)