fix: workflow and readme

This commit is contained in:
Ilay
2025-11-02 21:05:33 +05:00
parent 31472112d5
commit 0fdaead896
3 changed files with 18 additions and 9 deletions

View File

@@ -7,12 +7,12 @@ on:
workflow_dispatch:
jobs:
create-release:
release:
runs-on: ubuntu-latest
steps:
- name: 🧾 Checkout main branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main
token: ${{ secrets.GITHUB_TOKEN }}
@@ -21,6 +21,15 @@ jobs:
id: latest-tag
uses: JinoArch/get-latest-tag@latest
- name: 🛠️ Set Up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 🔐 Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
- name: 🏗️ Build and Push Docker Image
uses: docker/build-push-action@v5
with:
@@ -28,7 +37,7 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/remnashop:Latest
ghcr.io/remnashop:latest
ghcr.io/remnashop:${{ github.ref_name }}
- name: 📦 Create GitHub Release