Skip to content

V1.1.0 container update #5

V1.1.0 container update

V1.1.0 container update #5

Workflow file for this run

name: Container release
on:
push:
tags:
- v.*
pull_request:
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/build-push-action@v4
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: frontend/
file: frontend/docker/production/react/Dockerfile
push: true
tags: ghcr.io/esgf2-us/metagrid-frontend:latest
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/build-push-action@v4
with:
cache-from: type=gha
cache-to: type=gha,mode=max
context: backend/
file: backend/docker/production/django/Dockerfile
push: true
tags: ghcr.io/esgf2-us/metagrid-backend:latest