outputs can't be shared between jobs :oof:

This commit is contained in:
Abigail G 2020-10-11 14:47:25 -04:00
parent ff9d46f379
commit 855935a26e
No known key found for this signature in database
GPG Key ID: CF88335E873C3FB4
1 changed files with 1 additions and 6 deletions

View File

@ -57,11 +57,6 @@ jobs:
- name: Push images to registry
run: docker push ${{ steps.tag_image.outputs.image_id }}
deploy:
name: Deploy new images
runs-on: ubuntu-20.04
needs: docker
steps:
- name: Deploy official images
id: deploy_images
uses: satak/webrequest-action@v1
@ -69,4 +64,4 @@ jobs:
url: ${{ secrets.DEPLOY_URL }}
method: POST
headers: '{"Authentication": "Token ${{ secrets.DEPLOY_TOKEN }}"}'
payload: '{"version": "${{ jobs.docker.steps.tag_image.outputs.version }}"}'
payload: '{"version": "${{ steps.tag_image.outputs.version }}"}'