Skip to content

Update docker.yml

Update docker.yml #2

Workflow file for this run

name: Laravel Authentication Image Build and Push
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.HUB_USERNAME }}
password: ${{ secrets.HUB_PASSWORD }}
- name: Laravel Authentication Image Build
run: |
docker build -t mahmouddabbous/Laravel-auth .
- name: Laravel Authentication Image Push
run: |
docker push mahmouddabbous/Laravel-auth