Skip to content

Commit 030bdd3

Browse files
author
Davidson Gomes
committed
Publish Nexus Plane images from the fork
1 parent 7206449 commit 030bdd3

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

‎.github/workflows/nexus-images.yml‎

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Nexus Plane images
2+
3+
on:
4+
push:
5+
branches: [nexus-v1.3.1]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
packages: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
include:
18+
- name: backend
19+
file: apps/api/Dockerfile.api
20+
context: apps/api
21+
image: plane-backend-nexus
22+
- name: frontend
23+
file: apps/web/Dockerfile.web
24+
context: .
25+
image: plane-frontend-nexus
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: docker/setup-buildx-action@v3
29+
- uses: docker/login-action@v3
30+
with:
31+
registry: ghcr.io
32+
username: ${{ github.actor }}
33+
password: ${{ secrets.GITHUB_TOKEN }}
34+
- uses: docker/build-push-action@v6
35+
with:
36+
context: ${{ matrix.context }}
37+
file: ${{ matrix.file }}
38+
push: true
39+
tags: ghcr.io/evolution-foundation/${{ matrix.image }}:v1.3.1
40+
cache-from: type=gha,scope=${{ matrix.name }}
41+
cache-to: type=gha,mode=max,scope=${{ matrix.name }}

0 commit comments

Comments
 (0)