Skip to content

Created an endpoint selection modal popup for users to save, add improvements on endpoint selection #39

Created an endpoint selection modal popup for users to save, add improvements on endpoint selection

Created an endpoint selection modal popup for users to save, add improvements on endpoint selection #39

Workflow file for this run

name: Container release
on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
workflow_dispatch:
permissions: {}
jobs:
frontend:
name: Build/release frontend container
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/esgf2-us/metagrid-frontend
tags: |
type=semver,pattern={{version}}
- uses: docker/build-push-action@v4
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: frontend/
file: frontend/docker/production/react/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
backend:
name: Build/release backend container
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/esgf2-us/metagrid-backend
tags: |
type=semver,pattern={{version}}
- uses: docker/build-push-action@v4
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: backend/
file: backend/docker/production/django/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}