mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-10-31 16:54:31 +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 }}
|
||||
|
||||
- name: Save image as tar archive
|
||||
if: ${{ ! github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
docker image ls # debug
|
||||
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
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user