From 5d51e9506df3f955520ff682e04b5323b3c10f62 Mon Sep 17 00:00:00 2001 From: SebClem Date: Sat, 31 Oct 2020 16:40:07 +0100 Subject: [PATCH] :ambulance: Fix CI --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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}}