-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reenabling using latest init image in PR workflow (#296)
- Loading branch information
1 parent
80c0b69
commit 006abdb
Showing
1 changed file
with
2 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,34 +53,9 @@ jobs: | |
run: npm run test:unit -- --coverage | ||
working-directory: init | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: | | ||
farosai/faros-ce-init | ||
flavor: | | ||
latest=auto | ||
tags: | | ||
type=sha,format=long,prefix= | ||
type=raw,value=latest,enable=true | ||
- name: Set up Docker QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Build Docker image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
load: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
# In order to optimize for speed, we use the latest init image. | ||
- name: Start services | ||
run: [email protected] FAROS_INIT_IMAGE=farosai/faros-ce-init:${{ github.sha }} docker compose up --quiet-pull -d | ||
run: [email protected] FAROS_INIT_IMAGE=farosai/faros-ce-init:latest docker compose up --quiet-pull -d | ||
|
||
- name: Show logs | ||
run: docker compose logs --tail all | ||
|
@@ -110,5 +85,3 @@ jobs: | |
|
||
- name: Stop services | ||
run: docker compose down | ||
|
||
|