Skip to content

Commit

Permalink
combine docker and e2e workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Aug 10, 2024
1 parent 4ae953c commit 07042a4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,24 @@ on:
branches:
- '*'
jobs:
test:
test-and-push:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GHCR (GitHub Packages)
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker image
run: ./docker/build
- name: Push SHA tag
run: ./docker/push
- name: Set up Node
uses: actions/setup-node@v4
with:
Expand All @@ -30,3 +42,5 @@ jobs:
name: playwright-report
path: playwright-report/
retention-days: 30

# TODO: push docker branch tag on e2e test success
35 changes: 0 additions & 35 deletions .github/workflows/docker-sha.yml

This file was deleted.

0 comments on commit 07042a4

Please sign in to comment.