Merge pull request #490 from fabiankachlock/dependabot/npm_and_yarn/f… #319
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: Frontend Docker Pipeline | |
"on": | |
push: | |
branches: | |
- main | |
paths: | |
- "frontend/**" | |
- ".github/workflows/**" | |
workflow_dispatch: | |
jobs: | |
frontend-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Image | |
run: "docker build -f ./frontend/Dockerfile --build-arg version_override=$(git rev-parse HEAD) -t ${{ secrets.DOCKER_REPO_URL }}/zwoo-frontend/frontend:nightly ." | |
- name: Log into JFrog | |
run: "docker login ${{ secrets.DOCKER_REPO_URL }} -p ${{ secrets.DOCKER_REPO_PASS }} -u ${{ secrets.DOCKER_REPO_USER }}" | |
- name: Push Image | |
run: "docker push ${{ secrets.DOCKER_REPO_URL }}/zwoo-frontend/frontend:nightly" |