push to local ecr
This commit is contained in:
parent
7eacce0c61
commit
736712ee79
@ -12,11 +12,10 @@ jobs:
|
|||||||
name: Check out code
|
name: Check out code
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker buildx build . -t gitea.chromart.cc/martin/doorman-homeassistant:v1 -t gitea.chromart.cc/martin/doorman-homeassistant:latest
|
run: docker buildx build . -t 192.168.1.150:9120/doorman-homeassistant:latest
|
||||||
|
|
||||||
- name: Login and Push Docker image
|
|
||||||
run: echo -n '${{ secrets.PASSWORD }}' | docker login gitea.chromart.cc --username ${{ secrets.USERNAME }} --password-stdin && docker image push --all-tags gitea.chromart.cc/martin/doorman-homeassistant
|
|
||||||
|
|
||||||
|
- name: Push Docker image
|
||||||
|
run: docker image push --all-tags 192.168.1.150:9120/doorman-homeassistant
|
||||||
deploy-gitainer:
|
deploy-gitainer:
|
||||||
needs: docker
|
needs: docker
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user