Skip to content

Update auto-gen files #29

Update auto-gen files

Update auto-gen files #29

Workflow file for this run

name: Release
on:
push:
# Build and publish artifacts for a release
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log into GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${GITHUB_ACTOR,,} --password-stdin
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Build Release Artifacts
run: RELEASE_TAG="${{ github.ref_name }}" make release
- name: Update crds docs
run: |
echo "Release Tag: ${{ github.ref_name }}"
curl -sSL https://doc.crds.dev/github.com/oracle/cluster-api-provider-oci@${{ github.ref_name }}
- uses: actions/upload-artifact@v2
with:
name: CAPOCI Artifacts
path: out/