-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,8 +87,8 @@ jobs: | |
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
images: | | ||
name=ghcr.io/${{env.USER}}/${{matrix.path}},enable=true | ||
name=docker.io/${{env.USER}}/${{matrix.path}},enable=true | ||
name=ghcr.io/${{env.USER}}/storage-${{matrix.path}},enable=true | ||
name=docker.io/${{env.USER}}/storage-${{matrix.path}},enable=true | ||
tags: | | ||
type=semver,enable=true,pattern={{major}} | ||
type=semver,enable=true,pattern={{major}}.{{minor}} | ||
|
@@ -97,6 +97,8 @@ jobs: | |
labels: | | ||
org.opencontainers.image.title="alwatr/storage-${{matrix.path}}" | ||
org.opencontainers.image.vendor="Alwatr" | ||
org.opencontainers.image.documentation="https://github.com/Alwatr/storage" | ||
org.opencontainers.image.authors="S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com)" | ||
- name: 🚀 Build and push container image | ||
if: ${{ steps.file_change.outputs.container_folder != 'false' }} | ||
|
@@ -109,9 +111,6 @@ jobs: | |
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=local,src=/tmp/.buildx-cache | ||
cache-to: type=local,dest=/tmp/.buildx-cache | ||
build-args: | | ||
BUILD_DATE=${{github.event.repository.updated_at}} | ||
BUILD_REV=${{github.sha}} | ||
|
||
# - name: 🏗 Sign the image with GitHub OIDC Token | ||
# if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder != 'false' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,5 @@ ENV NGINX_OPEN_FILE_CACHE="max=5000 inactive=1h" \ | |
NGINX_LIMIT_REQ_BURST=1000 \ | ||
NGINX_DISABLE_SYMLINKS=if_not_owner | ||
|
||
ARG BUILD_REV | ||
ARG BUILD_DATE | ||
# LABEL org.opencontainers.image.title="alwatr/storage-nginx" \ | ||
# org.opencontainers.image.description="Serve the content of the Alwatr Storage database extremely quickly with validating the authentication token." \ | ||
# org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:2.0.0" \ | ||
# org.opencontainers.image.version="4.0.0" \ | ||
# org.opencontainers.image.ref.name="2.0.0-nginx1.25.3-alpine3.18-slim" \ | ||
# org.opencontainers.image.licenses="MIT" \ | ||
# org.opencontainers.image.created=${BUILD_DATE} \ | ||
# org.opencontainers.image.revision=${BUILD_REV} \ | ||
# org.opencontainers.image.vendor="Alwatr" \ | ||
# org.opencontainers.image.source="https://github.com/Alwatr/storage" \ | ||
# org.opencontainers.image.url="https://github.com/Alwatr/storage" \ | ||
# org.opencontainers.image.documentation="https://github.com/Alwatr/storage" \ | ||
# org.opencontainers.image.authors="S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com), S. Amir Mohammad Najafi <[email protected]> (https://njfamirm.ir/)" | ||
LABEL org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:2.0.0" \ | ||
org.opencontainers.image.documentation="https://github.com/Alwatr/storage" \ |