mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-05 17:15:48 +01:00
Fix image exporting
This commit is contained in:
parent
f047ece20c
commit
265941a12a
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -120,10 +120,17 @@ jobs:
|
|||||||
docker push ${{ env.IMAGE_TAG_DH }}:${{ env.VERSION }}-${{ env.SAFE_ARCH }}
|
docker push ${{ env.IMAGE_TAG_DH }}:${{ env.VERSION }}-${{ env.SAFE_ARCH }}
|
||||||
|
|
||||||
- name: Save image as tar archive
|
- name: Save image as tar archive
|
||||||
|
if: ${{ ! github.event_name == 'pull_request' }}
|
||||||
run: |
|
run: |
|
||||||
docker image ls # debug
|
docker image ls # debug
|
||||||
docker save ${{ env.IMAGE_TAG }}:${{ env.HASH_VERSION }}-${{ env.SAFE_ARCH }} -o ${{ env.SAFE_ARCH }}.tar
|
docker save ${{ env.IMAGE_TAG }}:${{ env.HASH_VERSION }}-${{ env.SAFE_ARCH }} -o ${{ env.SAFE_ARCH }}.tar
|
||||||
|
|
||||||
|
- name: Save image as tar archive (pull request)
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
run: |
|
||||||
|
docker image ls # debug
|
||||||
|
docker save tdlightbotapi:${{ env.HASH_VERSION }}-${{ env.SAFE_ARCH }} -o ${{ env.SAFE_ARCH }}.tar
|
||||||
|
|
||||||
- name: Upload image as artifact
|
- name: Upload image as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user