Skip to content

feat: move compositions to configuration packages #1

feat: move compositions to configuration packages

feat: move compositions to configuration packages #1

Workflow file for this run

name: Build
on:
pull_request: {}
push:
branches:
- main
workflow_dispatch:
inputs:
channel:
description: release channel
required: true
default: stable
version:
description: release version
required: true
default: current
#env:
# DOCKER_USR: ${{ secrets.DOCKER_USR }}
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup Crossplane cli
uses: crossplane-contrib/xpkg-action@master
with:
channel: ${{ github.event.inputs.channel }}
version: ${{ github.event.inputs.version }}
command: -h
- name: Build xpkg
run: make output
env:
CROSSPLANE: './crossplane'
# - name: Login to Docker
# uses: docker/login-action@v3
# if: env.DOCKER_USR != ''
# with:
# registry: registry.upbound.io
# username: ${{ secrets.DOCKER_USR }}
# password: ${{ secrets.DOCKER_PSW }}
# - name: Push xpkg
# uses: crossplane-contrib/xpkg-action@master
# with:
# command: push configuration -f test/xpkg-action-test/xpkg-action-test.xpkg registry.upbound.io/crossplane-test/xpkg-action-test:v0.0.1