File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -73,18 +73,26 @@ jobs:
73
73
username : ${{ secrets.DOCKERHUB_USERNAME }}
74
74
password : ${{ secrets.DOCKERHUB_TOKEN }}
75
75
76
+ - name : ' Extract metadata for Docker Hub'
77
+ id : meta
78
+ uses : docker/metadata-action@v5
79
+ with :
80
+ images : ${{ env.IMAGE_URL }}
81
+
76
82
# Docker image: madsciencelab
77
83
# Note: standard/ directory maps to madsciencelab image (no variants)
78
84
- name : ' Build Docker image ${{ env.IMAGE_NAME }}'
79
85
uses : docker/build-push-action@v6
80
86
with :
81
87
platforms : linux/amd64,linux/arm64
82
88
context : ${{ steps.file-gen.outputs.PATH }}
83
- file : ${{ steps.file-gen.outputs.PATH }}/ docker/Dockerfile
89
+ file : docker/Dockerfile
84
90
build-args : |
85
91
CONTAINER_VERSION=${{ github.ref_name }}
86
92
IMAGE_NAME=${{ env.IMAGE_NAME }}
87
93
tags : ${{ env.IMAGE_URL }}:latest
94
+ labels : ${{ steps.meta.outputs.labels }}
95
+ cache-from : type=gha
88
96
89
97
madsciencelab-plugins :
90
98
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments