Skip to content

added checkout action and specific path #15

added checkout action and specific path

added checkout action and specific path #15

Workflow file for this run

name: Laravel Docker Image CI - DEV
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout the repo
uses: actions/checkout@v3
-
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.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PAT }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: ./app-laravel-crud/
file: ./app-laravel-crud/Dockerfile
push: true
tags: mrfzy00/crud_laravel_api-sre-test-app:latest