Skip to content

generate from v0.34.0 crossplane provider (#44) #24

generate from v0.34.0 crossplane provider (#44)

generate from v0.34.0 crossplane provider (#44) #24

Workflow file for this run

name: Push
on:
push:
tags:
- '*'
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: setup Crossplane cli
uses: crossplane-contrib/setup-crossplane-action@cb8aac3f1246b19f101e7f85fd0a38623b4d5ad3 # v0.1.1
- name: Log in to the GitHub Container registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push xpkg
run: make push
if: ${{ github.ref == 'refs/heads/main' }} && env.REGISTRY != ''