diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 0e7814b..9e3ae2c 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -21,14 +21,15 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - uses: actions/checkout@v5 + - name: Log in to registry + shell: bash + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin - name: setup-castor uses: castor-php/setup-castor@v0.1.0 - - name: Log in to registry - shell: bash - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin + - uses: actions/checkout@v5 + - name: "Build and start the infrastructure" run: "castor docker:push" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fce49da..4de4fea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,8 @@ jobs: env: DS_PHP_VERSION: ${{ matrix.php-version }} steps: - - uses: actions/checkout@v5 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 - name: Log in to registry shell: bash @@ -50,6 +51,8 @@ jobs: - name: setup-castor uses: castor-php/setup-castor@v0.1.0 + - uses: actions/checkout@v5 + - name: "Build and start the infrastructure" run: "castor start"