diff --git a/.gitea/workflows/build-package.yaml b/.gitea/workflows/build-package.yaml new file mode 100644 index 0000000..605f2e5 --- /dev/null +++ b/.gitea/workflows/build-package.yaml @@ -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 + diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build-release.yaml similarity index 100% rename from .gitea/workflows/build.yaml rename to .gitea/workflows/build-release.yaml diff --git a/deployment.yaml b/deployment.yaml index 3a2e83b..e1bd342 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -22,7 +22,7 @@ spec: spec: containers: - 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: - containerPort: 8000