Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d8896e903 | |||
| 263c01beed | |||
| ef858630b7 | |||
| 496e37fe2e | |||
| 78dc2c527b | |||
| 1e5c0c6cf0 | |||
| 2b331cc43b |
@@ -10,5 +10,5 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
||||
+6
-2
@@ -78,6 +78,8 @@ runs:
|
||||
|
||||
echo "Setting the function's releaseTag to: ${RELEASE_TAG}"
|
||||
echo "releaseTag=${RELEASE_TAG}" >> "$GITHUB_ENV"
|
||||
- name: Set up Docker Buildx # required to enable caching of docker build
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Log in to Speckle Automate Docker registry
|
||||
uses: docker/login-action@v3.0.0
|
||||
with:
|
||||
@@ -101,15 +103,17 @@ runs:
|
||||
exit 1
|
||||
fi
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.0.0
|
||||
uses: docker/build-push-action@v5.1.0
|
||||
with:
|
||||
context: ${{ inputs.docker_context }}
|
||||
file: ${{ inputs.dockerfile_path }}
|
||||
tags: ${{ env.automateHost }}/${{ inputs.speckle_function_id }}:${{ env.releaseTag }}
|
||||
target: ''
|
||||
push: true
|
||||
cache-from: type=registry,ref=${{ env.automateHost }}/${{ inputs.speckle_function_id }}:buildcache
|
||||
cache-to: type=registry,ref=${{ env.automateHost }}/${{ inputs.speckle_function_id }}:buildcache,mode=max
|
||||
- name: Speckle Automate function version publisher
|
||||
uses: specklesystems/speckle-automate-github-action@0.8.0
|
||||
uses: specklesystems/speckle-automate-github-action@0.9.1
|
||||
id: register_speckle_function_version
|
||||
with:
|
||||
speckle_automate_url: ${{ inputs.speckle_automate_url }}
|
||||
|
||||
Reference in New Issue
Block a user