diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6d1bcc0..1b7da87 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,9 +34,7 @@ jobs: needs: [build-gradle] steps: - uses: actions/checkout@v2 - - name: Get build number - id: get_version - run: echo "RELEASE_VERSION=${{GITHUB_RUN_NUMBER}}" >> $GITHUB_ENV + - name: Download artifact uses: actions/download-artifact@v1.0.0 with: @@ -50,5 +48,5 @@ jobs: name: brokenfire/brokendiscordbot username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - tags: "latest,${{ env.RELEASE_VERSION }}" + tags: "latest,${GITHUB_RUN_NUMBER}" buildargs: GITHUB_RUN_NUMBER=${{env.RELEASE_VERSION}}