Minor fix

This commit is contained in:
TwinProduction 2021-07-28 22:30:34 -04:00
parent d3e0ef6519
commit 07b1a2eafb

View File

@ -1,7 +1,7 @@
name: publish-latest
on:
workflow_run:
workflows: ["Build"]
workflows: ["build"]
types: [completed]
jobs:
publish-latest:
@ -14,8 +14,6 @@ jobs:
uses: actions/checkout@v2
- name: Get image repository
run: echo IMAGE_REPOSITORY=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
- name: Get the release
run: echo RELEASE=${GITHUB_REF/refs\/tags\//} >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
@ -32,4 +30,4 @@ jobs:
pull: true
push: true
tags: |
${{ env.IMAGE_REPOSITORY }}:${{ env.RELEASE }}
${{ env.IMAGE_REPOSITORY }}:latest