Test cicd #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 Frontend | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: echo | |
run: pwd | |
- name: Build Docker Image | |
run: docker build -t berkeleytime-frontend ./frontend/ | |
- name: Save Docker Image as Tarball | |
run: docker save berkeleytime-frontend:latest -o berkeleytime-frontend.tar | |
- name: Upload Docker Image as Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: frontend | |
path: berkeleytime-frontend.tar |