Skip to content

debug action

debug action #13

Workflow file for this run

name: Build and Push Docker Images
on:
push:
paths:
- 'docker-images/**' # Trigger only when there are changes in this folder
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_TOKEN }}
- name: Build and push mkcert image
run: |
docker build -t ghcr.io/${{ github.repository }}/mkcert:latest -f docker-images/mkcert docker-images
docker push ghcr.io/${{ github.repository }}/mkcert:latest
- name: Build and push php82_cli image
run: |
docker build -t ghcr.io/${{ github.repository }}/php82_cli:latest -f docker-images/php82_cli docker-images
docker push ghcr.io/${{ github.repository }}/php82_cli:latest
- name: Build and push php82_fpm image
run: |
ls -l
docker build -t ghcr.io/${{ github.repository }}/php82_fpm:latest -f docker-images/php82_fpm docker-images
docker push ghcr.io/${{ github.repository }}/php82_fpm:latest