parent
12912acae2
commit
b10108ce4f
1 changed files with 3 additions and 6 deletions
|
|
@ -9,8 +9,8 @@ jobs:
|
|||
deploy:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
image: docker:latest
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
@ -19,15 +19,12 @@ jobs:
|
|||
https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}@git.lan.krilio.net/nuno/test-app.git \
|
||||
.
|
||||
|
||||
- name: Login to registry
|
||||
- name: Build and push
|
||||
run: |
|
||||
echo "${{ secrets.REGISTRY_PASSWORD }}" | \
|
||||
docker login git.lan.krilio.net \
|
||||
-u ${{ secrets.REGISTRY_USER }} \
|
||||
--password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
docker build -t git.lan.krilio.net/nuno/test-app:prod .
|
||||
docker push git.lan.krilio.net/nuno/test-app:prod
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue