🚑 Fix CI
This commit is contained in:
parent
dcc6acf998
commit
5d51e9506d
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user