Migrate to ghcr registry

This commit is contained in:
Marco Aceti 2020-11-06 22:13:50 +01:00
parent 05bd23d8cf
commit 1bc182938f
Signed by: MarcoBuster
GPG Key ID: E4ABA81298E4F14D

View File

@ -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: |