diff --git a/.cruft.json b/.cruft.json index 19d8bac..d4c18d0 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/vshn/appcat-cookiecutter", - "commit": "44bbefeb243c8c59dc05711668435dedc11e8c99", + "commit": "4a2639224e6a67b1a0aada1652a29d0bc3624bf8", "checkout": "add/upbound_push", "context": { "cookiecutter": { diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 3940e90..f4e0675 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,6 +11,7 @@ on: env: APP_NAME: provider-exoscale COMPONENT_REPO: vshn/component-appcat + UPBOUND_PUSH: True jobs: check-labels: @@ -53,8 +54,21 @@ jobs: - name: Build branch and push AppCat run: make docker-push-branchtag - - name: Build branch and push Functions - run: make function-push-package-branchtag + - name: Build branch and push package + run: make package-push-branchtag + + - name: Login to Upbound + if: env.UPBOUND_PUSH + uses: docker/login-action@v1 + with: + registry: xpkg.upbound.io + username: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR }} + password: ${{ secrets.UPBOUND_MARKETPLACE_PUSH_ROBOT_PSW }} + + - name: Build branch and push package to upbound + if: env.UPBOUND_PUSH + run: make package-push-upbound-branchtag + open-pr-component: if: github.event.action == 'opened' runs-on: ubuntu-latest