Skip to content

[infra] - upgrading dockerfiles #8

[infra] - upgrading dockerfiles

[infra] - upgrading dockerfiles #8

Workflow file for this run

name: Continuos Delivery - CD

Check failure on line 1 in .github/workflows/cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cd.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: aws
on:
# workflow_run:
# workflows: ["Continuos Integration - CI"]
# types:
# - requested
workflow_dispatch:
jobs:
aws:
runs-on: self-hosted
# steps:
# - name: Stoping Containers
# - run: |
# sudo docker stop knockbank-web || true
# sudo docker rm -f knockbank-web || true
# sudo docker image rm -f davilucciola/knockbank-web || true
# sudo docker stop knockbank-api || true
# sudo docker rm -f knockbank-api || true
# sudo docker image rm -f davilucciola/knockbank-api || true
# - name: Pull Docker Images
# run: |
# sudo docker pull davilucciola/knockbank-api:latest
# sudo docker pull davilucciola/knockbank-web:latest
# - name: Running API Container
# env:
# TOKEN_SECRET: ${{ secrets.TOKEN_SECRET }}
# SQLALCHEMY_DATABASE_URI: ${{ secrets.SQLALCHEMY_DATABASE_URI }}
# run: |
# sudo docker run --name knockbank-api -p 5000:5000 --restart=always \
# -e TOKEN_SECRET=$TOKEN_SECRET \
# -e SQLALCHEMY_DATABASE_URI=$SQLALCHEMY_DATABASE_URI \
# -d davilucciola/knockbank-api
# - name: Running Web Container
# env:
# run: |
# sudo docker run --name knockbank-web -p 3000:3000 --restart=always \
# -d davilucciola/knockbank-web