fix termination description #25
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: Build and Push Docker Images | |
on: | |
push: | |
branches: | |
- main | |
- development_branch | |
pull_request: | |
branches: | |
- main | |
- development_branch | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Check out the repository | |
- name: Check out the code | |
uses: actions/checkout@v3 | |
# Step 2: Log in to Docker Hub | |
- name: Log in to Docker Hub | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
# Step 3: Run the build and push script | |
- name: Build and push Docker images | |
run: | | |
chmod +x ./build_and_push_services_dev.sh | |
./build_and_push_services_dev.sh |