Skip to content

Commit

Permalink
#606 run docker image in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Mar 15, 2023
1 parent 74a5dd5 commit 15465d0
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,26 @@ jobs:
type=semver,pattern={{major}}
type=sha
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: false
provenance: false
platforms: linux/amd64,linux/arm64
tags: local
labels: ${{ steps.meta.outputs.labels }}

- name: Run docker image
run: nohup docker run -p 80:80 joepmeneer/atomic-server:local --initialize &

- name: Setup and run end-to-end tests
working-directory: ./server/e2e_tests/
run: |
pnpm install
pnpm run install-playwright
pnpm run test
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
Expand All @@ -57,4 +77,4 @@ jobs:
provenance: false
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}e

0 comments on commit 15465d0

Please sign in to comment.