|
|
|
@ -14,16 +14,17 @@ jobs:
|
|
|
|
|
uses: actions/checkout@v2.3.3
|
|
|
|
|
|
|
|
|
|
- name: Get release version
|
|
|
|
|
id: get-version
|
|
|
|
|
id: get_version
|
|
|
|
|
uses: dawidd6/action-get-tag@v1
|
|
|
|
|
|
|
|
|
|
- name: Login
|
|
|
|
|
run: docker login -u tyrrrz -p ${{ secrets.DOCKER_TOKEN }}
|
|
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
|
run: docker build -t tyrrrz/discordchatexporter:${{ steps.get-version.outputs.tag }} -t tyrrrz/discordchatexporter:stable .
|
|
|
|
|
run: docker build -t tyrrrz/discordchatexporter:${{ steps.get_version.outputs.tag }} -t tyrrrz/discordchatexporter:stable .
|
|
|
|
|
|
|
|
|
|
- name: Deploy
|
|
|
|
|
run: |
|
|
|
|
|
docker push tyrrrz/discordchatexporter:${{ steps.get-version.outputs.tag }}
|
|
|
|
|
docker push tyrrrz/discordchatexporter:stable
|
|
|
|
|
- name: Deploy (version)
|
|
|
|
|
run: docker push tyrrrz/discordchatexporter:${{ steps.get_version.outputs.tag }}
|
|
|
|
|
|
|
|
|
|
- name: Deploy (stable)
|
|
|
|
|
run: docker push tyrrrz/discordchatexporter:stable
|