Build E2E Frontend Base Image #11
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
name: Build E2E Frontend Base Image | |
on: | |
schedule: | |
# Update the E2E Firefox testcafe version on the first of every month | |
- cron: 0 0 1 * * | |
jobs: | |
build-e2e-docker-image: | |
runs-on: ubuntu-latest | |
name: Publish E2E Frontend Image | |
steps: | |
- name: Cloning repo | |
uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{github.actor}} | |
password: ${{secrets.GITHUB_TOKEN}} | |
- name: Build E2E Frontend Image | |
run: | | |
cd frontend | |
docker build -f Dockerfile-base.e2e --tag ghcr.io/flagsmith/e2e-frontend-base:latest . | |
docker push ghcr.io/flagsmith/e2e-frontend-base:latest |