Skip to content

chore: update vsvc path to expose via istio gateway #120

chore: update vsvc path to expose via istio gateway

chore: update vsvc path to expose via istio gateway #120

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
package-name: furry-train
pull-request-title-pattern: "[release] chore${scope}: release${component} ${version}."
build:
needs: release-please
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@v1
id: buildx
with:
install: true
- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/
rm skaffold
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build docker image
run: skaffold build
tag:
needs: release-please
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Boost version label
if: ${{ steps.release.outputs.release_created == true }}
run: |
GO111MODULE=on go get sigs.k8s.io/kustomize/kustomize/v3
cd deployments/kustomize
kustomize edit set label version:v${{ steps.release.outputs.major }}
git add kustomization.yaml || true
git commit -m"ci: update version label to v${{ steps.release.outputs.major }}"
git push