File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 32
32
type=raw,value=latest
33
33
type=raw,value={{date 'YYYYMMDD'}}
34
34
35
+ - name : Extract metadata for Alpine
36
+ id : meta-alpine
37
+ uses : docker/metadata-action@v5
38
+ with :
39
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40
+ tags : |
41
+ type=raw,value=alpine
42
+ type=raw,prefix=alpine-,value={{date 'YYYYMMDD'}}
43
+
35
44
- name : Build and push regular image
36
45
uses : docker/build-push-action@v5
37
46
with :
47
56
context : .
48
57
file : ./Dockerfile-alpine
49
58
push : true
50
- tags : |
51
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:alpine
52
- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:alpine-{{date 'YYYYMMDD'}}
53
- labels : ${{ steps.meta.outputs.labels }}
59
+ tags : ${{ steps.meta-alpine.outputs.tags }}
60
+ labels : ${{ steps.meta-alpine.outputs.labels }}
You can’t perform that action at this time.
0 commit comments