|
@@ -32,14 +32,6 @@ jobs:
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
- - name: Repo metadata
|
|
|
- id: repo
|
|
|
- uses: actions/github-script@v4
|
|
|
- with:
|
|
|
- script: |
|
|
|
- const repo = await github.repos.get(context.repo)
|
|
|
- return repo.data
|
|
|
-
|
|
|
- name: Gather image information
|
|
|
id: info
|
|
|
run: |
|
|
@@ -152,7 +144,7 @@ jobs:
|
|
|
context: .
|
|
|
builder: ${{ steps.builder.outputs.name }}
|
|
|
file: ./${{ steps.info.outputs.dockerfile }}
|
|
|
- platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/arm/v7
|
|
|
+ platforms: linux/amd64,linux/arm64,linux/ppc64le
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
tags: ${{ steps.info.outputs.tags }}
|
|
|
build-args: |
|
|
@@ -161,10 +153,10 @@ jobs:
|
|
|
labels: |
|
|
|
org.opencontainers.image.title=SFTPGo
|
|
|
org.opencontainers.image.description=Fully featured and highly configurable SFTP server with optional FTP/S and WebDAV support
|
|
|
- org.opencontainers.image.url=${{ fromJson(steps.repo.outputs.result).html_url }}
|
|
|
- org.opencontainers.image.documentation=${{ fromJson(steps.repo.outputs.result).html_url }}/blob/${{ github.sha }}/docker/README.md
|
|
|
- org.opencontainers.image.source=${{ fromJson(steps.repo.outputs.result).html_url }}
|
|
|
+ org.opencontainers.image.url=https://github.com/drakkan/sftpgo
|
|
|
+ org.opencontainers.image.documentation=https://github.com/drakkan/sftpgo/blob/${{ github.sha }}/docker/README.md
|
|
|
+ org.opencontainers.image.source=https://github.com/drakkan/sftpgo
|
|
|
org.opencontainers.image.version=${{ steps.info.outputs.version }}
|
|
|
org.opencontainers.image.created=${{ steps.info.outputs.created }}
|
|
|
org.opencontainers.image.revision=${{ github.sha }}
|
|
|
- org.opencontainers.image.licenses=${{ fromJson(steps.repo.outputs.result).license.spdx_id }}
|
|
|
+ org.opencontainers.image.licenses=AGPL-3.0
|