From 47dc3a0885563a9997e995f844720e8c00415b4c Mon Sep 17 00:00:00 2001 From: Noel Palo Date: Mon, 11 Sep 2023 09:39:19 +0800 Subject: [PATCH] Update build.yml update --- .github/workflows/build.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0d0422..2a34b02 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,26 +7,33 @@ on: branches: [ "master", "development" ] jobs: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Docker login env: DOCKER_USER: ${{ secrets.DOCKER_USER }} DOCKER_KEY: ${{ secrets.DOCKER_KEY }} run: | docker login -u $DOCKER_USER -p $DOCKER_KEY + # Build Docker Images - name: Build the Docker image - run: ./scripts/build.sh + run: | + chmod +x ./scripts/build.sh + ./scripts/build.sh - name: Start - run: ./scripts/up.sh -d + run: | + chmod +x ./scripts/up.sh + ./scripts/up.sh -d - - name: Composer - run: ./scripts/composer.sh install + - name: Composer + run: | + chmod +x ./scripts/composer.sh + ./scripts/composer.sh install