Compare commits
12 Commits
d6a1e650dc
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3fb26a8a2
|
||
|
|
a247bed8d4
|
||
|
|
cac5e8ff15
|
||
|
|
9a49e2c994
|
||
|
|
9f0fcb1b7e
|
||
|
|
3fa4045772
|
||
|
|
82e109b10b
|
||
|
|
b0ce0a956b
|
||
|
|
1ccb70138e
|
||
|
|
f9d823535e
|
||
|
|
f57b277951
|
||
|
|
ae9a2e17c1
|
@@ -16,14 +16,14 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install kpack-cli
|
- name: Install kpack-cli
|
||||||
env:
|
env:
|
||||||
KPACK_CLI_VERSION: "0.13.0"
|
KPACK_CLI_VERSION: 0.13.0
|
||||||
|
KPACK_CLI_SHA256: 52f0c927a1350f4f1bb281575ec246f406fb96aa69dc974ed10a2fe52c538158
|
||||||
working-directory: /tmp
|
working-directory: /tmp
|
||||||
run: |
|
run: |
|
||||||
mkdir -p kp-binaries
|
set -ex
|
||||||
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}"
|
||||||
curl -sLO "https://github.com/buildpacks-community/kpack-cli/releases/download/v${KPACK_CLI_VERSION}/kp-linux-amd64-${KPACK_CLI_VERSION}.sha256"
|
echo "${KPACK_CLI_SHA256} kp-linux-amd64-${KPACK_CLI_VERSION}" | sha256sum --check || exit 1
|
||||||
sha256sum -c kp-linux-amd64-${KPACK_CLI_VERSION}.sha256 || exit 1
|
sudo mv kp-linux-amd64-${KPACK_CLI_VERSION} /usr/local/bin/kp
|
||||||
sudo mv kp-binaries/kp-linux-amd64-${KPACK_CLI_VERSION} /usr/local/bin/kp
|
|
||||||
sudo chmod +x /usr/local/bin/kp
|
sudo chmod +x /usr/local/bin/kp
|
||||||
kp version
|
kp version
|
||||||
- name: Install kubectl
|
- name: Install kubectl
|
||||||
|
|||||||
13
.github/workflows/cicd.yaml
vendored
13
.github/workflows/cicd.yaml
vendored
@@ -7,11 +7,16 @@ jobs:
|
|||||||
build-image-and-deploy:
|
build-image-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: yesolutions/mirror-action@master
|
|
||||||
|
- uses: felegy/mirror-action@master
|
||||||
with:
|
with:
|
||||||
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
REMOTE: git@${{ secrets.DEPLOY_REPO }}:${{ github.repository }}.git
|
||||||
GIT_USERNAME: ${{ secrets.DEPLOY_REPO_USERNAME }}
|
SSH_CONFIG: |
|
||||||
GIT_PASSWORD: ${{ secrets.DEPLOY_REPO_TOKEN }}
|
Host ${{ secrets.DEPLOY_REPO }}
|
||||||
|
ProxyCommand cloudflared access ssh --hostname %h
|
||||||
|
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
|
GIT_SSH_NO_VERIFY_HOST: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user