Skip to content

Commit a9a4e73

Browse files
committed
ci test, no tag
1 parent 5041def commit a9a4e73

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on:
55
branches:
66
- main
77
- release-*
8+
tags:
9+
- "v*"
810
pull_request: {}
911
workflow_dispatch: {}
1012

1113
env:
1214
PYTHON_VERSION: "3.11"
1315
HATCH_VERSION: "1.16.2"
1416
DOCKER_BUILDX_VERSION: "v0.30.1"
15-
1617
XP_CHANNEL: stable
1718
XPKG: xpkg.crossplane.io/${{ github.repository }}
1819

@@ -72,7 +73,7 @@ jobs:
7273
with:
7374
version: ${{ env.DOCKER_BUILDX_VERSION }}
7475
install: true
75-
driver: docker-container # <-- required for caching
76+
driver: docker-container
7677

7778
- name: Build runtime image
7879
uses: docker/build-push-action@v6
@@ -88,8 +89,8 @@ jobs:
8889
- name: Install Crossplane CLI
8990
run: curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | sh
9091

91-
- name: Print Crossplane version
92-
run: ./crossplane version
92+
- name: Print Crossplane client version
93+
run: ./crossplane version --client
9394

9495
- name: Build xpkg
9596
run: |
@@ -98,7 +99,7 @@ jobs:
9899
--package-file=${{ matrix.arch }}.xpkg \
99100
--embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar
100101
101-
- name: Upload combined artifact
102+
- name: Upload artifact
102103
uses: actions/upload-artifact@v6
103104
with:
104105
name: artifact-${{ matrix.arch }}
@@ -124,8 +125,8 @@ jobs:
124125
- name: Install Crossplane CLI
125126
run: curl -sL "https://raw.githubusercontent.com/crossplane/crossplane/main/install.sh" | sh
126127

127-
- name: Print Crossplane version
128-
run: ./crossplane version
128+
- name: Print Crossplane client version
129+
run: ./crossplane version --client
129130

130131
- name: Read version from Python package
131132
id: read_version

0 commit comments

Comments
 (0)