Skip to content

CD-CLIENTES-QA

CD-CLIENTES-QA #5

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

View workflow run for this annotation

GitHub Actions / CD-CLIENTES-QA

Invalid workflow file

The workflow is not valid. .github/workflows/cd-clientes-qa.yml (Line: 11, Col: 20): Unrecognized named-value: 'DH_TOKEN_CLIENTES'. Located at position 1 within expression: DH_TOKEN_CLIENTES
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