diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5145ab9..7699c0b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,14 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Get Docker Image Url + id: image + env: + URL: mmx233/bitsrunlogin-go + run: | + echo LATEST=${URL}:latest >> $GITHUB_OUTPUT + echo VERSION=${URL}:${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT + - name: Setup QEMU Emulator uses: docker/setup-qemu-action@master with: @@ -36,4 +44,4 @@ jobs: context: . file: ./Dockerfile platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7 - tags: mmx233/bitsrunlogin-go:latest,mmx233/bitsrunlogin-go:${{GITHUB_REF/refs\/tags\//}} \ No newline at end of file + tags: ${{ steps.image.outputs.VERSION }},${{ steps.image.outputs.LATEST }} \ No newline at end of file