Skip to content

Added dockerfile

Added dockerfile #3

Workflow file for this run

name: Continuous Deployment (Prod)
on:
push:
branches: [ "main" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_SECRET }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push school image
uses: docker/build-push-action@v4
with:
context: .
file: Dockerfile
push: true
tags: 100xdevs/todo-app-week-39:${{ github.sha }}