Skip to content

Commit 5c8cfe7

Browse files
committed
update workflow for target rn
1 parent bdb5dc2 commit 5c8cfe7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-release.yml

+32
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,35 @@ jobs:
102102
tags: |
103103
sssomeshhh/rentify:fs
104104
sssomeshhh/rentify:fs-${{ github.sha }}
105+
106+
rn:
107+
runs-on: ubuntu-22.04
108+
needs: fs
109+
steps:
110+
- name: Checkout
111+
uses: actions/checkout@v4
112+
- name: Login to Docker Hub
113+
uses: docker/[email protected]
114+
with:
115+
registry: docker.io
116+
username: sssomeshhh
117+
password: ${{ secrets.DOCKER_HUB_TOKEN }}
118+
- name: Setup Docker Buildx
119+
id: setup_buildx
120+
uses: docker/[email protected]
121+
- name: Build Target
122+
uses: docker/[email protected]
123+
with:
124+
builder: ${{ steps.setup_buildx.name }}
125+
context: .
126+
file: Dockerfile
127+
target: rn
128+
cache-from: |
129+
type=registry,ref=sssomeshhh/cache:rentify-rn
130+
cache-to: |
131+
type=registry,ref=sssomeshhh/cache:rentify-rn
132+
load: false
133+
push: true
134+
tags: |
135+
sssomeshhh/rentify:rn
136+
sssomeshhh/rentify:rn-${{ github.sha }}

0 commit comments

Comments
 (0)