CD-CLIENTES-QA #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD-CLIENTES-QA | ||
on: | ||
workflow_dispatch: | ||
env: | ||
SSH_PRIVATE_KEY: ${{ secrets.PEM_CLIENTES_QA }} | ||
REMOTE_USER: ec2-user | ||
REMOTE_HOST: ${{ secrets.IP_CLIENTES_QA }} | ||
APP_NAME: app.js | ||
DOCKERHUB_TOKEN: ${{ DH_TOKEN_CLIENTES }} | ||
Check failure on line 11 in .github/workflows/cd-clientes-qa.yml GitHub Actions / CD-CLIENTES-QAInvalid workflow file
|
||
DOCKERHUB_USERNAME: romicalani | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Iniciar sesion en Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ env.DOCKERHUB_USERNAME }} | ||
password: ${{ env.DOCKERHUB_TOKEN }} | ||
- name: Generar y Subir imagen Docker | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: true | ||
file: ./Dockerfile | ||
tags: ${{ env.DOCKERHUB_USERNAME }}/my-node-app:latest |