ci: pushing image to new docker registry
This commit is contained in:
parent
cc8cf4ba55
commit
8657c1198d
1 changed files with 7 additions and 1 deletions
|
|
@ -24,11 +24,17 @@ jobs:
|
||||||
registry: git.philt3r
|
registry: git.philt3r
|
||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
- name: Login to Container Registry x4m3rocks
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
with:
|
||||||
|
registry: registry-registry.y.z.x4m3.rocks
|
||||||
|
username: ${{ secrets.REGISTRY_X4M3_ROCKS_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_X4M3_ROCKS_PASSWORD }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
env:
|
env:
|
||||||
ACTIONS_RUNTIME_TOKEN: ''
|
ACTIONS_RUNTIME_TOKEN: ''
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: git.philt3r/${{ gitea.repository }}:latest
|
tags: git.philt3r/${{ gitea.repository }}:latest,registry-registry.y.z.x4m3.rocks/${{ gitea.repository }}:latest
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue