Compare commits

...
Author SHA1 Message Date
Christy Jacob 6825603cb3 feat: push images to github registry 2024-12-31 11:59:07 +05:30
Christy Jacob e7469ece12 feat: push images to github registry 2024-12-31 11:57:14 +05:30
+7 -2
View File
@@ -1,6 +1,9 @@
name: "Build and Publish Appwrite Images for Cloud"
on:
workflow_dispatch:
branches:
- dev
push:
tags:
- cl-*
@@ -26,8 +29,9 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
@@ -42,6 +46,7 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
registry: ghcr.io
build-args: |
VERSION=${{ steps.meta.outputs.version }}
VITE_APPWRITE_GROWTH_ENDPOINT=https://growth.appwrite.io/v1