Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Jul 16, 2024
1 parent b39f79e commit b990651
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ jobs:
- name: Build
run: |
make build VERSION=dev-${{ env.SHORT_SHA }}
- name: Docker Image
uses: docker/build-push-action@v6
with:
push: true
tags: |
ttl.sh/embedded-cluster-operator-image:dev-${{ env.SHORT_SHA }}
# - name: Docker Image
# uses: docker/build-push-action@v6
# with:
# push: true
# tags: |
# ttl.sh/embedded-cluster-operator-image:dev-${{ env.SHORT_SHA }}
- name: Prepare melange build
run: |
export VERSION=$(git describe --tags --dirty)
make melange-template
cp bin/manager deploy/manager
cp bin/manager manager
- name: Build melange package
uses: chainguard-dev/actions/melange-build@main
with:
Expand All @@ -66,10 +66,10 @@ jobs:
run: make manifests
- name: Check CRDs
run: |
git diff --exit-code --name-only
if [ $? -eq 0 ]; then
echo "CRDs are up to date"
else
echo "CRDs are out of date"
exit 1
fi
git diff --exit-code --name-only
if [ $? -eq 0 ]; then
echo "CRDs are up to date"
else
echo "CRDs are out of date"
exit 1
fi
2 changes: 2 additions & 0 deletions deploy/melange.dev.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ environment:
pipeline:
- runs: |
set -ex
ls
pwd
cp manager "${{targets.destdir}}/manager"

0 comments on commit b990651

Please sign in to comment.