Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Apr 29, 2024
1 parent b3e75d9 commit ccff1e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .castor/docker.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ function push(): void
'type' => $type,
'context' => $config['build']['context'],
'dockerfile' => $config['build']['dockerfile'] ?? 'Dockerfile',
'target' => $config['build']['target'] ?? null
'target' => $config['build']['target'] ?? null,
];
}
}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
php-version: 8.3
tools: castor

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Log in to registry
shell: bash
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

- name: "Build and start the infrastructure"
run: "castor docker:push"

0 comments on commit ccff1e8

Please sign in to comment.