fix docker pull
This commit is contained in:
@@ -46,8 +46,25 @@ jobs:
|
|||||||
BACKEND_IMAGE: ${{ vars.BACKEND_IMAGE || 'ghcr.io/morbalint/kemkas-backend:b8565f8e' }}
|
BACKEND_IMAGE: ${{ vars.BACKEND_IMAGE || 'ghcr.io/morbalint/kemkas-backend:b8565f8e' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Create GitHub App installation token
|
||||||
|
id: app-token
|
||||||
|
uses: actions/create-github-app-token@v1
|
||||||
|
with:
|
||||||
|
app-id: ${{ secrets.E2E_APP_ID }}
|
||||||
|
private-key: ${{ secrets.E2E_APP_KEY }}
|
||||||
|
owner: ${{ github.repository_owner }}
|
||||||
|
repositories: |
|
||||||
|
kemkas-backend
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: x-access-token
|
||||||
|
password: ${{ steps.app-token.outputs.token }}
|
||||||
|
- name: Pull images
|
||||||
|
run: docker compose -f docker-compose.e2e.yaml pull
|
||||||
|
- name: Build local images
|
||||||
|
run: docker compose -f docker-compose.e2e.yaml build --pull
|
||||||
- name: Run Docker Compose E2E tests
|
- name: Run Docker Compose E2E tests
|
||||||
run: docker compose -f docker-compose.e2e.yaml up --build --abort-on-container-exit --exit-code-from e2e e2e
|
run: docker compose -f docker-compose.e2e.yaml up --build --abort-on-container-exit --exit-code-from e2e e2e
|
||||||
- name: Upload Playwright HTML report
|
- name: Upload Playwright HTML report
|
||||||
|
|||||||
Reference in New Issue
Block a user