diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 978f4d1..1f8657a 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -149,7 +149,6 @@ jobs: --app ${{ env.HUMANITEC_APP_ID }} \ --env ${{ env.DEPLOYMENT_ENV }} \ -f ${{ env.SCORE_FILE }} \ - --extensions humanitec.score.yaml \ --workload-source-url "https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/score.yaml" \ --image $CONTAINER_REGISTRY/$IMAGE:$TAG \ --message "${{ github.event.head_commit.message }}" diff --git a/humanitec.score.yaml b/humanitec.score.yaml deleted file mode 100644 index 833c745..0000000 --- a/humanitec.score.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: humanitec.org/v1b1 -profile: humanitec/default-module -spec: - volumes: - tmp: - type: emptyDir \ No newline at end of file diff --git a/score.yaml b/score.yaml index bdb986d..359435a 100644 --- a/score.yaml +++ b/score.yaml @@ -56,7 +56,7 @@ containers: ${resources.env.GITHUB_APP_PRIVATE_KEY} volumes: - - source: volumes.tmp + - source: ${resources.empty-dir} target: /tmp readOnly: false @@ -73,3 +73,5 @@ resources: port: 7007 db: type: postgres + empty-dir: + type: volume