Bump @angular/core from 17.3.1 to 17.3.3 in /src/Frontend/camFrontend #212
Workflow file for this run
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: CI | |
on: | |
push: | |
jobs: | |
# python-test-backend: | |
# name: π§ͺ Test backend Python code | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: π₯ Check-out | |
# uses: actions/checkout@v4 | |
# - name: π§° Install Python | |
# uses: actions/setup-python@v5 | |
# with: | |
# python-version: '3.8' | |
# cache: pipenv | |
# cache-dependency-path: src/Backend/Pipfile.lock | |
# - name: π§° Install Pipenv | |
# run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python | |
# - name: π§° Install Python requirements | |
# working-directory: src/Backend | |
# run: pipenv install | |
# - name: π₯ Download NLTK tools | |
# working-directory: src/Backend | |
# run: | | |
# pipenv run python -m nltk.downloader stopwords | |
# pipenv run python -m nltk.downloader punkt | |
# pipenv run python -m nltk.downloader averaged_perceptron_tagger | |
# - name: π§ͺ Test Python code | |
# working-directory: src/Backend | |
# run: pipenv run python test.py | |
# env: | |
# ES_USERNAME: reader | |
# ES_PASSWORD: reader | |
docker-build-backend: | |
name: ποΈ Build backend Docker image | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Check-out | |
uses: actions/checkout@v4 | |
- name: π§° Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: π§° Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: ποΈ Build Docker base image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Backend | |
push: false | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
target: pipenv-with-dependencies | |
- name: ποΈ Build Docker image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Backend | |
push: false | |
docker-build-frontend: | |
name: ποΈ Build frontend Docker image | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Check-out | |
uses: actions/checkout@v4 | |
- name: π§° Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: π§° Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: ποΈ Build Docker image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Frontend/camFrontend | |
push: false | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
docker-publish-backend: | |
name: π Publish backend Docker image | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
permissions: | |
packages: write | |
needs: | |
# - python-test-backend | |
- docker-build-backend | |
- docker-build-frontend | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Check-out | |
uses: actions/checkout@v4 | |
- name: π§° Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: π§° Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: π Login to GitHub Packages | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: π Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: βΉοΈ Extract image metadata | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: | | |
webis/cam-backend | |
ghcr.io/${{ github.repository }}/cam-backend | |
- name: ποΈ Build Docker base image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Backend | |
push: false | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
target: pipenv-with-dependencies | |
- name: π Build and push image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Backend | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
- name: ποΈ Build Docker image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Backend | |
push: false | |
docker-publish-frontend: | |
name: π Publish frontend Docker image | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
permissions: | |
packages: write | |
needs: | |
# - python-test-backend | |
- docker-build-backend | |
- docker-build-frontend | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Check-out | |
uses: actions/checkout@v4 | |
- name: π§° Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: π§° Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: π Login to GitHub Packages | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: π Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: βΉοΈ Extract image metadata | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: | | |
webis/cam-frontend | |
ghcr.io/${{ github.repository }}/cam-frontend | |
- name: π Build and push image | |
uses: docker/build-push-action@v4 | |
with: | |
context: src/Frontend/camFrontend | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
github-release: | |
name: π Create GitHub release | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
needs: | |
# - python-test-backend | |
- docker-build-backend | |
- docker-build-frontend | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Check-out | |
uses: actions/checkout@v4 | |
- name: π Create GitHub release | |
uses: softprops/action-gh-release@v2 | |
with: | |
name: Release ${{ github.ref_name }} | |
fail_on_unmatched_files: true | |
draft: false | |
prerelease: false | |
generate_release_notes: true |