mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-28 20: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
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
REGISTRY: docker.pkg.github.com
|
||||
IMAGE_TAG: docker.pkg.github.com/${{ github.repository }}/tdlightbotapi
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_TAG: ghcr.io/tdlight-team/tdlightbotapi
|
||||
|
||||
steps:
|
||||
- name: Checkout current repo
|
||||
@ -51,6 +51,7 @@ jobs:
|
||||
- name: Build image
|
||||
run: |
|
||||
docker build \
|
||||
--cache-from $IMAGE_TAG:latest \
|
||||
--tag $IMAGE_TAG:$HASH_VERSION \
|
||||
--tag $IMAGE_TAG:$VERSION \
|
||||
.
|
||||
@ -61,8 +62,8 @@ jobs:
|
||||
|
||||
- name: Push images
|
||||
run: |
|
||||
docker push $IMAGE_TAG:$HASH_VERSION
|
||||
docker push $IMAGE_TAG:$VERSION
|
||||
docker push $IMAGE_TAG:$HASH_VERSION
|
||||
|
||||
- name: Logout from registry
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user