fix(ci): update variable name

This commit is contained in:
Mogeko 2021-11-15 23:39:20 +00:00
parent edcee500eb
commit d4fb0a1866
No known key found for this signature in database
GPG key ID: B35485A88F40AD2C

View file

@ -55,7 +55,7 @@ jobs:
tags: | tags: |
type=edge type=edge
type=schedule,pattern={{date 'YYYYMMDD'}} type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,${{ needs.check.outputs.version }} type=raw,${{ needs.check.outputs.new_ver }}
type=raw,latest type=raw,latest
- name: Build and push Docker image - name: Build and push Docker image
@ -67,7 +67,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |
VERSION=${{ needs.check.outputs.version }} VERSION=${{ needs.check.outputs.new_ver }}
- name: Save metadata - name: Save metadata
run: echo ${{ toJSON(steps.build.outputs.metadata) }} > ${{ github.workspace }}/meta.json run: echo ${{ toJSON(steps.build.outputs.metadata) }} > ${{ github.workspace }}/meta.json