🚑 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]
|
needs: [build-gradle]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Get build number
|
|
||||||
id: get_version
|
|
||||||
run: echo "RELEASE_VERSION=${{GITHUB_RUN_NUMBER}}" >> $GITHUB_ENV
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v1.0.0
|
uses: actions/download-artifact@v1.0.0
|
||||||
with:
|
with:
|
||||||
@ -50,5 +48,5 @@ jobs:
|
|||||||
name: brokenfire/brokendiscordbot
|
name: brokenfire/brokendiscordbot
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
tags: "latest,${{ env.RELEASE_VERSION }}"
|
tags: "latest,${GITHUB_RUN_NUMBER}"
|
||||||
buildargs: GITHUB_RUN_NUMBER=${{env.RELEASE_VERSION}}
|
buildargs: GITHUB_RUN_NUMBER=${{env.RELEASE_VERSION}}
|
||||||
|
Loading…
Reference in New Issue
Block a user