Merge pull request #23 from rcland12/raspbian_develop #23
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 Image to Docker Hub | |
on: | |
push: | |
branches: [ raspbian ] | |
jobs: | |
triton-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Docker login | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
run: | | |
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD && touch .env | |
- name: Building and pushing images | |
run: docker compose build --push triton | |
nginx-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Docker login | |
env: | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
run: | | |
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD && touch .env | |
- name: Building images | |
run: docker compose build --push nginx-stream |