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:
7373 username : ${{ secrets.DOCKERHUB_USERNAME }}
7474 password : ${{ secrets.DOCKERHUB_TOKEN }}
7575
76+ - name : ' Extract metadata for Docker Hub'
77+ id : meta
78+ uses : docker/metadata-action@v5
79+ with :
80+ images : ${{ env.IMAGE_URL }}
81+
7682 # Docker image: madsciencelab
7783 # Note: standard/ directory maps to madsciencelab image (no variants)
7884 - name : ' Build Docker image ${{ env.IMAGE_NAME }}'
7985 uses : docker/build-push-action@v6
8086 with :
8187 platforms : linux/amd64,linux/arm64
8288 context : ${{ steps.file-gen.outputs.PATH }}
83- file : ${{ steps.file-gen.outputs.PATH }}/ docker/Dockerfile
89+ file : docker/Dockerfile
8490 build-args : |
8591 CONTAINER_VERSION=${{ github.ref_name }}
8692 IMAGE_NAME=${{ env.IMAGE_NAME }}
8793 tags : ${{ env.IMAGE_URL }}:latest
94+ labels : ${{ steps.meta.outputs.labels }}
95+ cache-from : type=gha
8896
8997 madsciencelab-plugins :
9098 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments