14 Commits

Author SHA1 Message Date
dependabot[bot] 511966f048 build(deps): Bump docker/login-action from 3.1.0 to 3.3.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.1.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 06:00:18 +00:00
Iain Sproat cc5ebe707c build(deps): bump speckle-automate-github-action from 0.9.0 to 0.10.0 (#28) 2024-10-07 12:42:24 +01:00
dependabot[bot] 0aa892ad33 build(deps): Bump docker/login-action from 3.0.0 to 3.1.0 (#26)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:51 +01:00
dependabot[bot] 3e90df75b7 build(deps): Bump docker/build-push-action from 5.1.0 to 5.3.0 (#27)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5.1.0...v5.3.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:30 +01:00
dependabot[bot] f58e89de52 build(deps): Bump specklesystems/speckle-automate-github-action (#24)
Bumps [specklesystems/speckle-automate-github-action](https://github.com/specklesystems/speckle-automate-github-action) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/specklesystems/speckle-automate-github-action/releases)
- [Commits](https://github.com/specklesystems/speckle-automate-github-action/compare/0.9.1...0.9.2)

---
updated-dependencies:
- dependency-name: specklesystems/speckle-automate-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-07 12:30:10 +01:00
dependabot[bot] 2d8896e903 build(deps): Bump specklesystems/speckle-automate-github-action (#23)
Bumps [specklesystems/speckle-automate-github-action](https://github.com/specklesystems/speckle-automate-github-action) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/specklesystems/speckle-automate-github-action/releases)
- [Commits](https://github.com/specklesystems/speckle-automate-github-action/compare/0.9.0...0.9.1)

---
updated-dependencies:
- dependency-name: specklesystems/speckle-automate-github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 21:16:12 +00:00
dependabot[bot] 263c01beed build(deps): Bump pre-commit/action from 3.0.0 to 3.0.1 (#22)
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 21:12:27 +00:00
Iain Sproat ef858630b7 chore(deps): bump speckle-automate-github-action from 0.8.0 to 0.9.0 (#21) 2024-01-09 20:11:11 +00:00
dependabot[bot] 496e37fe2e build(deps): Bump actions/setup-python from 4 to 5 (#20)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 16:38:36 +00:00
dependabot[bot] 78dc2c527b build(deps): Bump docker/setup-buildx-action from 2 to 3 (#18)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 10:37:58 +00:00
dependabot[bot] 1e5c0c6cf0 build(deps): Bump docker/build-push-action from 5.0.0 to 5.1.0 (#19)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 10:37:22 +00:00
Iain Sproat 2b331cc43b feat(docker build): cache image and build steps to github actions cache (#17)
* feat(docker build): cache image and build steps to registry cache
* Configure buildx to enable docker cache
2023-11-12 19:26:53 +00:00
Iain Sproat c39aec0850 chore(speckle-automate-github-action): bump to 0.8.0 (#16)
- fixes to README
2023-11-12 17:32:25 +00:00
Iain Sproat 2eacc79a5b chore(deps): bump speckle-automate-github-action from 0.7.0 to 0.7.1 (#15) 2023-11-10 23:06:22 +00:00
3 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -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
+2 -7
View File
@@ -32,15 +32,10 @@ Please note that this is not a Speckle Account token, but a **Speckle Automate A
Your Speckle Token must have write permissions for the Speckle Function with this ID, otherwise the publish will fail.
#### `speckle_function_path`
The path to the Speckle Automate Function to publish. This path is relative to the root of the repository. If you provide a path to a directory, your Speckle Automate Function must be in a file named `specklefunction.yaml` within that directory.
Defaults to the root of the repository.
#### `speckle_function_input_schema`
#### `speckle_function_input_schema_file_path`
The path to a file containing a JSON Schema. This JSON Schema defines the parameters required by the Function. The JSON Schema will be used to automatically create the User Interface displayed to users of your Function in Speckle Automate. Users will be able to provide their data to customise the Function.
This can be an absolute path, or a path relative to the Home directory of the GitHub Action runner.
Defaults to `./input-schema.json`
+7 -3
View File
@@ -78,8 +78,10 @@ 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
uses: docker/login-action@v3.3.0
with:
registry: ${{ inputs.speckle_automate_url }}
username: ${{ inputs.speckle_token }}
@@ -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.3.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.7.0
uses: specklesystems/speckle-automate-github-action@0.10.0
id: register_speckle_function_version
with:
speckle_automate_url: ${{ inputs.speckle_automate_url }}