mirror of
https://github.com/snoups/remnashop.git
synced 2026-04-23 19:23:06 +00:00
fix: workflow and readme
This commit is contained in:
15
.github/workflows/prod-docker-release.yml
vendored
15
.github/workflows/prod-docker-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user