Skip to content

Commit

Permalink
ci: update all workflows to use tagged versions
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 23, 2023
1 parent 4e24de9 commit 71ba118
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
ci-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@main
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.0
with:
build_target: prod
image_name: "ghcr.io/${{ github.repository }}"
2 changes: 1 addition & 1 deletion .github/workflows/build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
backend-ci-build:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@main
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@1.0.0
with:
build_target: ci
image_tags: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:

jobs:
build_doxygen:
uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@main
uses: hotosm/gh-workflows/.github/workflows/doxygen_build.yml@1.0.0
with:
output_path: docs/apidocs

publish_docs:
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@main
uses: hotosm/gh-workflows/.github/workflows/mkdocs_build.yml@1.0.0
needs: [build_doxygen]
with:
image: ghcr.io/${{ github.repository }}:ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ on:

jobs:
publish_to_pypi:
uses: hotosm/gh-workflows/.github/workflows/pypi_publish.yml@main
uses: hotosm/gh-workflows/.github/workflows/pypi_publish.yml@1.0.0
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
pytest:
uses: hotosm/gh-workflows/.github/workflows/test_pytest.yml@main
uses: hotosm/gh-workflows/.github/workflows/test_pytest.yml@1.0.0
with:
image_name: ghcr.io/${{ github.repository }}
tag_override: ${{ github.event_name == 'push' && 'ci' || '' }}

0 comments on commit 71ba118

Please sign in to comment.