more screwing with labels

This commit is contained in:
burnettk 2023-05-13 22:43:58 -04:00
parent 82f262bfcd
commit 74c3570a11
3 changed files with 5 additions and 2 deletions

View File

@ -59,6 +59,8 @@ jobs:
uses: docker/metadata-action@v4.4.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.description=Frontend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams
tags: |
type=ref,event=branch,suffix=-latest
type=ref,event=branch,suffix=-${{ steps.date.outputs.date }}
@ -103,6 +105,8 @@ jobs:
uses: docker/metadata-action@v4.4.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
labels: |
org.opencontainers.image.description=Backend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams
tags: |
type=ref,event=branch,suffix=-latest
type=ref,event=branch,suffix=-${{ steps.date.outputs.date }}

View File

@ -43,7 +43,6 @@ FROM deployment AS final
LABEL source="https://github.com/sartography/spiff-arena"
LABEL description="Backend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams"
LABEL org.opencontainers.image.description="Backend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams"
COPY --from=setup /app /app

View File

@ -29,7 +29,7 @@ RUN ./bin/build
# Final image without setup dependencies.
FROM base AS final
LABEL org.opencontainers.image.description="Frontend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams"
LABEL description="Frontend component of SpiffWorkflow, a software development platform for building, running, and monitoring executable diagrams"
# WARNING: On localhost frontend assumes backend is one port lowe.
ENV PORT0=7001