aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-24 11:29:16 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-24 11:29:16 -0700
commitc62f1640e4f95aaf72396ebe389b6892f01f8544 (patch)
treeb703a5dba35bdbae0621d142c9b556f118c3296f /.github/workflows
parentc32ea9ff0d84da18fb7482d497c6fe6089406df4 (diff)
downloadseaweedfs-csi-driver-c62f1640e4f95aaf72396ebe389b6892f01f8544.tar.xz
seaweedfs-csi-driver-c62f1640e4f95aaf72396ebe389b6892f01f8544.zip
add docker meta
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index a15ec2e..c18e833 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -26,6 +26,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
+ - name: Docker meta
+ id: docker_meta
+ uses: docker/metadata-action@v3
+ with:
+ images: |
+ chrislusf/seaweedfs-csi-driver
+ tags: |
+ type=raw,value=dev
+ flavor: |
+ latest=true
+ labels: |
+ org.opencontainers.image.title=seaweedfs-csi-driver
+ org.opencontainers.image.description=SeaweedFS is a distributed storage system for blobs, objects, files, and data lake, to store and serve billions of files fast!
+ org.opencontainers.image.vendor=Chris Lu
+
- name: Fetch history
run: git fetch --prune --unshallow
@@ -61,5 +76,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
file: ./cmd/seaweedfs-csi-driver/Dockerfile
platforms: linux/amd64, linux/arm, linux/arm64, linux/386
- tags: chrislusf/seaweedfs-csi-driver:latest
+ tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}