Skip to content

fix: add cleanup step #22

fix: add cleanup step

fix: add cleanup step #22

Workflow file for this run

name: Deploy Pipeline
on:
push:
branches:
# - main
- initial-deployment
workflow_dispatch:
jobs:
cleanup:
steps:

Check failure on line 12 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Deploy Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 12, Col: 5): Required property is missing: runs-on
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
build-osm-tagger:
uses: hotosm/gh-workflows/.github/workflows/image_build.yml@3.1.1
needs: cleanup
with:
image_name: ghcr.io/${{ github.repository }}/osm-tagger
dockerfile: dockerfiles/app.dockerfile
deploy-infra:
needs: build-osm-tagger
uses: ./.github/workflows/infra.yaml
with:
app_image_tag: ${{ needs.build-osm-tagger.outputs.image_tag }}
ollama_image_tag: main
secrets:
AWS_OIDC_ROLE_ARN: ${{ secrets.AWS_OIDC_ROLE_ARN }}