mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-26 09:54:43 +10:00
try again
This commit is contained in:
@@ -66,12 +66,14 @@ jobs:
|
|||||||
ghcr.io/${{ env.IMAGE }}
|
ghcr.io/${{ env.IMAGE }}
|
||||||
docker.io/${{ env.IMAGE }}
|
docker.io/${{ env.IMAGE }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=v${{ steps.version.outputs.version }}-${{ matrix.arch }}
|
|
||||||
type=sha,prefix=sha-,suffix=-${{ matrix.arch }}
|
type=sha,prefix=sha-,suffix=-${{ matrix.arch }}
|
||||||
labels: |
|
annotations: |
|
||||||
|
org.opencontainers.image.licenses=MIT
|
||||||
org.opencontainers.image.title=Reactive Resume
|
org.opencontainers.image.title=Reactive Resume
|
||||||
org.opencontainers.image.description=A free and open-source resume builder.
|
org.opencontainers.image.description=A free and open-source resume builder.
|
||||||
org.opencontainers.image.vendor=Amruth Pillai
|
org.opencontainers.image.vendor=Amruth Pillai
|
||||||
|
org.opencontainers.image.url=https://rxresu.me
|
||||||
|
org.opencontainers.image.documentation=https://docs.rxresu.me
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.version }}
|
org.opencontainers.image.version=${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
- name: Build and Push by Digest
|
- name: Build and Push by Digest
|
||||||
@@ -85,6 +87,7 @@ jobs:
|
|||||||
platforms: ${{ matrix.platform }}
|
platforms: ${{ matrix.platform }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
annotations: ${{ steps.meta.outputs.annotations }}
|
||||||
cache-from: type=gha,scope=${{ env.IMAGE }}-${{ matrix.arch }}
|
cache-from: type=gha,scope=${{ env.IMAGE }}-${{ matrix.arch }}
|
||||||
cache-to: type=gha,mode=max,scope=${{ env.IMAGE }}-${{ matrix.arch }}
|
cache-to: type=gha,mode=max,scope=${{ env.IMAGE }}-${{ matrix.arch }}
|
||||||
|
|
||||||
@@ -156,13 +159,6 @@ jobs:
|
|||||||
|
|
||||||
echo "major=$MAJOR" >> "$GITHUB_OUTPUT"
|
echo "major=$MAJOR" >> "$GITHUB_OUTPUT"
|
||||||
echo "minor=$MINOR" >> "$GITHUB_OUTPUT"
|
echo "minor=$MINOR" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
# Check if stable release (no pre-release identifiers)
|
|
||||||
if [[ "$VERSION" =~ (alpha|beta|rc|dev|canary) ]]; then
|
|
||||||
echo "is_stable=false" >> "$GITHUB_OUTPUT"
|
|
||||||
else
|
|
||||||
echo "is_stable=true" >> "$GITHUB_OUTPUT"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Extract metadata for Docker
|
- name: Extract metadata for Docker
|
||||||
id: meta
|
id: meta
|
||||||
@@ -172,15 +168,18 @@ jobs:
|
|||||||
ghcr.io/${{ env.IMAGE }}
|
ghcr.io/${{ env.IMAGE }}
|
||||||
docker.io/${{ env.IMAGE }}
|
docker.io/${{ env.IMAGE }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ steps.semver.outputs.is_stable }}
|
|
||||||
type=raw,value=v${{ steps.version.outputs.version }}
|
|
||||||
type=raw,value=v${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }},enable=${{ steps.semver.outputs.is_stable }}
|
|
||||||
type=raw,value=v${{ steps.semver.outputs.major }},enable=${{ steps.semver.outputs.is_stable }}
|
|
||||||
type=sha,prefix=sha-
|
type=sha,prefix=sha-
|
||||||
labels: |
|
type=raw,value=latest
|
||||||
|
type=raw,value=v${{ steps.version.outputs.version }}
|
||||||
|
type=raw,value=v${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}
|
||||||
|
type=raw,value=v${{ steps.semver.outputs.major }}
|
||||||
|
annotations: |
|
||||||
|
org.opencontainers.image.licenses=MIT
|
||||||
org.opencontainers.image.title=Reactive Resume
|
org.opencontainers.image.title=Reactive Resume
|
||||||
org.opencontainers.image.description=A free and open-source resume builder.
|
org.opencontainers.image.description=A free and open-source resume builder.
|
||||||
org.opencontainers.image.vendor=Amruth Pillai
|
org.opencontainers.image.vendor=Amruth Pillai
|
||||||
|
org.opencontainers.image.url=https://rxresu.me
|
||||||
|
org.opencontainers.image.documentation=https://docs.rxresu.me
|
||||||
org.opencontainers.image.version=${{ steps.version.outputs.version }}
|
org.opencontainers.image.version=${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
- name: Create manifest list and push
|
- name: Create manifest list and push
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
|
LABEL maintainer="amruthpillai"
|
||||||
|
LABEL org.opencontainers.image.licenses="MIT"
|
||||||
|
LABEL org.opencontainers.image.title="Reactive Resume"
|
||||||
|
LABEL org.opencontainers.image.description="A free and open-source resume builder."
|
||||||
|
LABEL org.opencontainers.image.vendor="Amruth Pillai"
|
||||||
|
LABEL org.opencontainers.image.url="https://rxresu.me"
|
||||||
|
LABEL org.opencontainers.image.documentation="https://docs.rxresu.me"
|
||||||
|
|
||||||
# ---------- Dependencies Layer ----------
|
# ---------- Dependencies Layer ----------
|
||||||
FROM node:24-slim AS dependencies
|
FROM node:24-slim AS dependencies
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user