Testing docker build pipeline #2

Merged
kcrawford merged 1 commits from release/v0.0.1 into main 2024-04-04 23:06:22 +00:00
3 changed files with 28 additions and 1 deletions
Showing only changes of commit ceb759b262 - Show all commits

View File

@ -0,0 +1,27 @@
name: package-builder
run-name: package-builder
on:
push:
branches:
- release/*
jobs:
build:
runs-on: dind
container:
image: dind:0.0.1
steps:
- name: Clone
run: |
mkdir -p ~/.ssh
echo "${{ secrets.PI_GIT_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan git.kcrawford.net >> ~/.ssh/known_hosts
git clone --branch ${GITHUB_REF_NAME} git@git.kcrawford.net:${{env.GITHUB_REPOSITORY}}.git .
- name: Inspect
run: |
env
docker info
#while true; do sleep 180; done

View File

@ -22,7 +22,7 @@ spec:
spec: spec:
containers: containers:
- name: http-header - name: http-header
image: git.kcrawford.net/kcrawford/golang-http-header:0.0.4 image: git.kcrawford.net/kcrawford/golang-http-header:0.0.5
ports: ports:
- containerPort: 8000 - containerPort: 8000