1
0

Compare commits

...

14 Commits

Author SHA1 Message Date
felegy
a247bed8d4 ~ Rebuild Image
All checks were successful
/ build-and-deploy (push) Successful in 47s
2025-08-22 14:42:18 +00:00
felegy
cac5e8ff15 ~ Rebuild Image 2025-08-22 14:42:08 +00:00
felegy
9a49e2c994 ~ Rebuild Image
All checks were successful
/ build-and-deploy (push) Successful in 54s
2025-08-22 14:32:35 +00:00
felegy
9f0fcb1b7e ~ Rebuild Image 2025-08-22 14:31:05 +00:00
felegy
3fa4045772 ~ Rebuild Image 2025-08-22 13:52:37 +00:00
felegy
82e109b10b ~ Rebuild Image 2025-08-22 13:40:29 +00:00
felegy
b0ce0a956b ~ Rebuild Image 2025-08-22 13:35:28 +00:00
felegy
1ccb70138e ~ Rebuild Image 2025-08-22 13:32:29 +00:00
felegy
f9d823535e ~ Rebuild Image 2025-08-22 12:59:56 +00:00
felegy
f57b277951 ~ Rebuild Image 2025-08-22 12:54:00 +00:00
felegy
ae9a2e17c1 + ADD ssh deploy key 2025-08-22 12:50:17 +00:00
felegy
d6a1e650dc ~ FIX image build and deploy pipeline
All checks were successful
/ build-and-deploy (push) Successful in 2m39s
2025-08-21 15:00:22 +00:00
felegy
e96743093f ~ Rebuild Image
All checks were successful
/ build-and-deploy (push) Successful in 51s
2025-08-21 14:39:55 +00:00
felegy
e4236cff6b + ADD dev branch to build 2025-08-21 14:36:40 +00:00
2 changed files with 18 additions and 9 deletions

View File

@@ -1,6 +1,8 @@
on:
push:
branches: [ main ]
branches:
- main
- dev
env:
NAMESPACE: ${{ github.repository_owner }}
DOCKER_REGISTRY: ghcr.io
@@ -17,9 +19,9 @@ jobs:
KPACK_CLI_VERSION: "0.13.0"
working-directory: /tmp
run: |
mkdir kp-binaries
curl -L "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}" -o kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION}
curl -LO "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}.sha256"
mkdir -p kp-binaries
curl -sL "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}" -o kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION}
curl -sLO "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}.sha256"
sha256sum -c kp-linux-amd64-${KPACK_CLI_VERSION}.sha256 || exit 1
sudo mv kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION} /usr/local/bin/kp
sudo chmod +x /usr/local/bin/kp

View File

@@ -1,15 +1,22 @@
on:
push:
branches: [ main ]
branches:
- main
- dev
jobs:
build-image-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
- uses: felegy/mirror-action@master
with:
REMOTE: https://git.saito.systems/felegy/test-php.git
GIT_USERNAME: felegy
GIT_PASSWORD: ${{ secrets.DEPLOY_REPO_TOKEN }}
REMOTE: git@${{ secrets.DEPLOY_REPO }}:${{ github.repository }}.git
SSH_CONFIG: |
Host ${{ secrets.DEPLOY_REPO }}
ProxyCommand cloudflared access ssh --hostname %h
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"