1414
1515env :
1616 # Common versions
17- PYTHON_VERSION : ' 3.11 '
18- HATCH_VERSION : ' 1.12.0 '
19- DOCKER_BUILDX_VERSION : ' v0.24.0 '
17+ PYTHON_VERSION : ' 3.13 '
18+ HATCH_VERSION : ' 1.15.1 '
19+ DOCKER_BUILDX_VERSION : ' v0.29.1 '
2020
2121 # These environment variables are important to the Crossplane CLI install.sh
2222 # script. They determine what version it installs.
2323 XP_CHANNEL : stable
24- XP_VERSION : v1.20 .0
24+ XP_VERSION : v2.1 .0
2525
2626 # The package to push, without a version tag. The default matches GitHub. For
2727 # example xpkg.crossplane.io/crossplane/function-template-go. Note that
@@ -37,10 +37,10 @@ jobs:
3737 runs-on : ubuntu-24.04
3838 steps :
3939 - name : Checkout
40- uses : actions/checkout@v5
40+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
4141
4242 - name : Setup Python
43- uses : actions/setup-python@v6
43+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
4444 with :
4545 python-version : ${{ env.PYTHON_VERSION }}
4646
@@ -54,10 +54,10 @@ jobs:
5454 runs-on : ubuntu-24.04
5555 steps :
5656 - name : Checkout
57- uses : actions/checkout@v5
57+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5858
5959 - name : Setup Python
60- uses : actions/setup-python@v6
60+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
6161 with :
6262 python-version : ${{ env.PYTHON_VERSION }}
6363
@@ -81,24 +81,24 @@ jobs:
8181 - arm64
8282 steps :
8383 - name : Setup QEMU
84- uses : docker/setup-qemu-action@v3
84+ uses : docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
8585 with :
8686 platforms : all
8787
8888 - name : Setup Docker Buildx
89- uses : docker/setup-buildx-action@v3
89+ uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
9090 with :
9191 version : ${{ env.DOCKER_BUILDX_VERSION }}
9292 install : true
9393
9494 - name : Checkout
95- uses : actions/checkout@v5
95+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
9696
9797 # We ask Docker to use GitHub Action's native caching support to speed up
9898 # the build, per https://docs.docker.com/build/cache/backends/gha/.
9999 - name : Build Runtime
100100 id : image
101- uses : docker/build-push-action@v6
101+ uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
102102 with :
103103 context : .
104104 platforms : linux/${{ matrix.arch }}
@@ -116,7 +116,7 @@ jobs:
116116 run : ./crossplane xpkg build --package-file=${{ matrix.arch }}.xpkg --package-root=package/ --embed-runtime-image-tarball=runtime-${{ matrix.arch }}.tar
117117
118118 - name : Upload Single-Platform Package
119- uses : actions/upload-artifact@v5
119+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
120120 with :
121121 name : package-${{ matrix.arch }}
122122 path : " *.xpkg"
@@ -131,10 +131,10 @@ jobs:
131131 - build
132132 steps :
133133 - name : Checkout
134- uses : actions/checkout@v5
134+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
135135
136136 - name : Download Single-Platform Packages
137- uses : actions/download-artifact@v6
137+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
138138 with :
139139 # See https://github.com/docker/build-push-action/blob/263435/README.md#summaries
140140 pattern : " !*.dockerbuild"
@@ -145,7 +145,7 @@ jobs:
145145 run : " curl -sL https://raw.githubusercontent.com/crossplane/crossplane/master/install.sh | sh"
146146
147147 - name : Login to GitHub Container Registry
148- uses : docker/login-action@v3
148+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
149149 with :
150150 registry : ghcr.io
151151 username : ${{ github.repository_owner }}
0 commit comments