fix: publish PepApi image to private registry namespace
Build PepApi image / build-and-push (push) Successful in 1m9s
Build PepApi image / build-and-push (push) Successful in 1m9s
This commit is contained in:
@@ -20,9 +20,9 @@ jobs:
|
|||||||
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.thecozycat.net -u "${{ gitea.actor }}" --password-stdin
|
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.thecozycat.net -u "${{ gitea.actor }}" --password-stdin
|
||||||
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: docker build -t git.thecozycat.net/${{ gitea.repository_owner }}/pepapi:latest -t git.thecozycat.net/${{ gitea.repository_owner }}/pepapi:${{ gitea.sha }} .
|
run: docker build -t git.thecozycat.net/internal/pepapi:latest -t git.thecozycat.net/internal/pepapi:${{ gitea.sha }} .
|
||||||
|
|
||||||
- name: Push image
|
- name: Push image
|
||||||
run: |
|
run: |
|
||||||
docker push git.thecozycat.net/${{ gitea.repository_owner }}/pepapi:latest
|
docker push git.thecozycat.net/internal/pepapi:latest
|
||||||
docker push git.thecozycat.net/${{ gitea.repository_owner }}/pepapi:${{ gitea.sha }}
|
docker push git.thecozycat.net/internal/pepapi:${{ gitea.sha }}
|
||||||
|
|||||||
Reference in New Issue
Block a user