Skip to content

Push DV to GHCR and deploy to EKS #5

Push DV to GHCR and deploy to EKS

Push DV to GHCR and deploy to EKS #5

Workflow file for this run

name: Push DV to GHCR and deploy to EKS
on:
workflow_dispatch:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/open-earth-foundation/ccglobal-data-viewer:latest
cache-from: type=gha
cache-to: type=gha,mode=max