Skip to content

Update docker-image.yml #26

Update docker-image.yml

Update docker-image.yml #26

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
-
name: Build and push Docker images using Docker Compose
run: |
docker-compose -f docker-compose.yml -p testing build
docker-compose -f docker-compose.yml -p testing push
env:
DOCKER_BUILDKIT: 1
working-directory: ${{ github.workspace }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}