Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c7b59346d4 |
@@ -92,9 +92,8 @@ This GitHub Action does not have any outputs. Please instead inspect the logs to
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5 # <-- CONFIGURE CHECKOUT FOR YOUR CODE
|
||||
- name: Register, Build, and Publish a Speckle Function
|
||||
-
|
||||
name: Register, Build, and Publish a Speckle Function
|
||||
uses: specklesystems/speckle-automate-github-composite-action
|
||||
with:
|
||||
speckle_token: ${{ secrets.SPECKLE_FUNCTION_PUBLISH_TOKEN }}
|
||||
|
||||
+3
-2
@@ -38,6 +38,7 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v4 # checkout the repository in which this GitHub Action is being used.
|
||||
- name: Validate inputs
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -102,7 +103,7 @@ runs:
|
||||
exit 1
|
||||
fi
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5.3.0
|
||||
uses: docker/build-push-action@v6.10.0
|
||||
with:
|
||||
context: ${{ inputs.docker_context }}
|
||||
file: ${{ inputs.dockerfile_path }}
|
||||
@@ -112,7 +113,7 @@ runs:
|
||||
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.11.0
|
||||
uses: specklesystems/speckle-automate-github-action@0.10.0
|
||||
id: register_speckle_function_version
|
||||
with:
|
||||
speckle_automate_url: ${{ inputs.speckle_automate_url }}
|
||||
|
||||
Reference in New Issue
Block a user