Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e61e397229 | |||
| 12969b137e | |||
| 2c4126eac8 |
1
.claude/commands/ship.md
Normal file
1
.claude/commands/ship.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Commit all staged and unstaged changes into git, assign the next tag in sequence, then ask for confirmation before pushing.
|
||||||
@@ -30,10 +30,12 @@ jobs:
|
|||||||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
|
||||||
TAG=${{ inputs.tag }}
|
TAG=${{ inputs.tag }}
|
||||||
fi
|
fi
|
||||||
IMAGE=gitea.home.hrajfrisbee.cz/${{ github.repository }}:$TAG
|
REPO=gitea.home.hrajfrisbee.cz/${{ github.repository }}
|
||||||
docker build -f Dockerfile \
|
docker build -f Dockerfile \
|
||||||
--build-arg GIT_TAG=$TAG \
|
--build-arg GIT_TAG=$TAG \
|
||||||
--build-arg GIT_COMMIT=${{ github.sha }} \
|
--build-arg GIT_COMMIT=${{ github.sha }} \
|
||||||
--build-arg BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) \
|
--build-arg BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) \
|
||||||
-t $IMAGE .
|
-t $REPO:$TAG \
|
||||||
docker push $IMAGE
|
-t $REPO:latest .
|
||||||
|
docker push $REPO:$TAG
|
||||||
|
docker push $REPO:latest
|
||||||
|
|||||||
5
CLAUDE.md
Normal file
5
CLAUDE.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Claude Instructions
|
||||||
|
|
||||||
|
## Git
|
||||||
|
|
||||||
|
- Always ask for confirmation before running `git push`.
|
||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: manager
|
- name: manager
|
||||||
image: gateway-cert-operator:latest
|
image: gitea.home.hrajfrisbee.cz/kacerr/gateway-cert-operator:latest
|
||||||
args:
|
args:
|
||||||
- --metrics-bind-address=:8080
|
- --metrics-bind-address=:8080
|
||||||
- --health-probe-bind-address=:8081
|
- --health-probe-bind-address=:8081
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: external-secrets.io/v1
|
|||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: gitea-registry
|
name: gitea-registry
|
||||||
namespace: fujarna
|
namespace: gateway-cert-operator-system
|
||||||
spec:
|
spec:
|
||||||
refreshInterval: 1h
|
refreshInterval: 1h
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user