2020-10-13 22:59:19 +08:00
2020-09-25 22:14:20 +08:00
2020-09-25 12:55:49 +08:00
2020-09-25 22:16:19 +08:00
2020-09-25 22:16:19 +08:00
2020-03-31 02:33:37 +08:00
2020-09-25 10:47:06 +08:00
2020-03-31 02:33:37 +08:00
2020-03-31 02:33:37 +08:00
2020-03-31 02:33:37 +08:00
2020-09-25 22:14:20 +08:00
2019-09-05 02:03:51 +08:00
2020-10-02 01:49:01 +08:00
2020-03-31 02:33:37 +08:00

build-test

Description

Install any kustomize version as a step in your workflow

Usage

on:
  push:
    branches:
    - master

jobs:
  create-deployment-branch:
    runs-on: ubuntu-latest
    needs:
    - publish-image
    steps:
    - uses: imranismail/setup-kustomize@v1
      with:
        kustomize-version: "3.1.0"
    - run: git clone https://${REPO_TOKEN}@github.com/org/deployment.git .
      env:
        REPO_TOKEN: ${{secrets.REPO_TOKEN}}
    - run: git branch deployment/app/${GITHUB_REF/refs\/heads\//}
    - run: kustomize edit set image app:${GITHUB_SHA}
    - run: git add .
    - run: git commit -m "Set `app` image tag to `${GITHUB_SHA}`"
    - run: git push origin deployment/app/${GITHUB_REF/refs\/heads\//}
Languages
TypeScript 97.7%
JavaScript 2.3%