File tree Expand file tree Collapse file tree 1 file changed +3
-22
lines changed
Expand file tree Collapse file tree 1 file changed +3
-22
lines changed Original file line number Diff line number Diff line change @@ -28,33 +28,14 @@ jobs:
2828 - name : Set up Docker Buildx
2929 uses : docker/setup-buildx-action@v2
3030
31- - name : Build and push amd64 image
31+ - name : Build and push multi-platform image
3232 uses : docker/build-push-action@v3
3333 with :
3434 context : .
3535 push : true
36- platforms : linux/amd64
37- tags : falcosecurity/event-generator:main-amd64
36+ platforms : linux/amd64,linux/arm64/v8
37+ tags : falcosecurity/event-generator:main
3838 labels : |
3939 org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
4040 org.opencontainers.image.name=event-generator
4141 org.opencontainers.image.revision=${{ github.sha }}
42-
43- - name : Build and push arm64 image
44- uses : docker/build-push-action@v3
45- with :
46- context : .
47- push : true
48- platforms : linux/arm64/v8
49- tags : falcosecurity/event-generator:main-arm64v8
50- labels : |
51- org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
52- org.opencontainers.image.name=event-generator
53- org.opencontainers.image.revision=${{ github.sha }}
54-
55- - name : Create and push manifest
56- run : |
57- docker manifest create falcosecurity/event-generator:main \
58- falcosecurity/event-generator:main-amd64 \
59- falcosecurity/event-generator:main-arm64v8
60- docker manifest push falcosecurity/event-generator:main
You can’t perform that action at this time.
0 commit comments