mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
ci: updated workflow
This commit is contained in:
9
.github/workflows/docker-crawlab.yml
vendored
9
.github/workflows/docker-crawlab.yml
vendored
@@ -178,9 +178,10 @@ jobs:
|
||||
- name: Update Dockerfile
|
||||
run: |
|
||||
for name in crawlab-backend crawlab-frontend; do
|
||||
IMAGE_NAME=ghcr.io/crawlab-team/crawlab/$name
|
||||
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/$name
|
||||
sed -i "s|crawlabteam/${name}:latest|${IMAGE_NAME}:${{ needs.setup.outputs.image_hash }}|" Dockerfile
|
||||
done
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -210,7 +211,7 @@ jobs:
|
||||
--health-timeout 5s
|
||||
--health-retries 5
|
||||
crawlab:
|
||||
image: ghcr.io/${{ github.repository }}:${{ needs.setup.outputs.image_hash }}
|
||||
image: ghcr.io/${{ github.repository_owner }}/crawlab:${{ needs.setup.outputs.image_hash }}
|
||||
env:
|
||||
CRAWLAB_NODE_MASTER: Y
|
||||
CRAWLAB_MONGO_HOST: mongo
|
||||
@@ -295,8 +296,8 @@ jobs:
|
||||
matrix:
|
||||
image: [
|
||||
{ name: 'crawlab' },
|
||||
{ name: 'crawlab/crawlab-backend' },
|
||||
{ name: 'crawlab/crawlab-frontend' }
|
||||
{ name: 'crawlab-backend' },
|
||||
{ name: 'crawlab-frontend' }
|
||||
]
|
||||
steps:
|
||||
- name: List Docker image versions
|
||||
|
||||
Reference in New Issue
Block a user