Skip to content

Commit e023532

Browse files
committed
docker to hasanda ghcr
1 parent e27496e commit e023532

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/client.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Client CI
22

3+
env:
4+
IMAGE: ghcr.io/hasadna/meirim/meirim-client
5+
36
on:
47
push:
58
paths:
@@ -150,10 +153,23 @@ jobs:
150153
NODE_ENV: production
151154
REACT_APP_BASE_API_URL: https://api.meirim.org/api
152155

153-
- uses: actions/upload-artifact@v4
156+
- uses: docker/login-action@v3
157+
with:
158+
registry: ghcr.io
159+
username: ${{ github.actor }}
160+
password: ${{ secrets.GITHUB_TOKEN }}
161+
- uses: docker/setup-buildx-action@v3
162+
- id: docker_build
163+
uses: docker/build-push-action@v6
154164
with:
155-
name: client-build
156-
path: client/build
165+
push: true
166+
tags: ${{ env.IMAGE }}:${{ github.sha }}
167+
context: client
168+
169+
# - uses: actions/upload-artifact@v4
170+
# with:
171+
# name: client-build
172+
# path: client/build
157173

158174
# - uses: jakejarvis/s3-sync-action@master
159175
# with:

.github/workflows/server.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Server CI
22

33
env:
4-
IMAGE: ghcr.io/hasadna/open-bus-rides-history
4+
IMAGE: ghcr.io/hasadna/meirim/meirim-server
55

66
on:
77
push:

0 commit comments

Comments
 (0)