🚑 Fix CI

This commit is contained in:
SebClem 2020-10-31 16:40:07 +01:00
parent dcc6acf998
commit 5d51e9506d

View File

@ -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}}