Merge pull request #8 from mogeko:dev

update variable name
This commit is contained in:
Mogeko 2021-11-16 00:40:29 +01:00 committed by GitHub
commit c4c57dc519
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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