mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-30 21:27:32 +01:00
Migrate to ghcr registry
This commit is contained in:
parent
05bd23d8cf
commit
1bc182938f
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
@ -12,8 +12,8 @@ jobs:
|
|||||||
name: Build Image
|
name: Build Image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
REGISTRY: docker.pkg.github.com
|
REGISTRY: ghcr.io
|
||||||
IMAGE_TAG: docker.pkg.github.com/${{ github.repository }}/tdlightbotapi
|
IMAGE_TAG: ghcr.io/tdlight-team/tdlightbotapi
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout current repo
|
- name: Checkout current repo
|
||||||
@ -51,6 +51,7 @@ jobs:
|
|||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
|
--cache-from $IMAGE_TAG:latest \
|
||||||
--tag $IMAGE_TAG:$HASH_VERSION \
|
--tag $IMAGE_TAG:$HASH_VERSION \
|
||||||
--tag $IMAGE_TAG:$VERSION \
|
--tag $IMAGE_TAG:$VERSION \
|
||||||
.
|
.
|
||||||
@ -61,8 +62,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Push images
|
- name: Push images
|
||||||
run: |
|
run: |
|
||||||
docker push $IMAGE_TAG:$HASH_VERSION
|
|
||||||
docker push $IMAGE_TAG:$VERSION
|
docker push $IMAGE_TAG:$VERSION
|
||||||
|
docker push $IMAGE_TAG:$HASH_VERSION
|
||||||
|
|
||||||
- name: Logout from registry
|
- name: Logout from registry
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user