Skip to content

Comment additional to the scripts. #2

Comment additional to the scripts.

Comment additional to the scripts. #2

name: Docker Compose CI/CD Pipeline
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push Docker Compose services
run: |
docker-compose build
docker-compose push