File tree 1 file changed +41
-0
lines changed
1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Buld and Deploy Images
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ tags :
8
+ - v*
9
+
10
+ jobs :
11
+ docker :
12
+ runs-on : ubuntu-latest
13
+
14
+ permissions :
15
+ packages : write
16
+ contents : read
17
+
18
+ steps :
19
+ - name : Set up QEMU
20
+ uses : docker/setup-qemu-action@v3
21
+ - name : Set up Docker Buildx
22
+ uses : docker/setup-buildx-action@v3
23
+ - name : Login to GitHub Container Registry
24
+ uses : docker/login-action@v1
25
+ with :
26
+ registry : ghcr.io
27
+ username : ${{ github.actor }}
28
+ password : ${{ secrets.GITHUB_TOKEN }}
29
+ - name : Docker metadata
30
+ id : metadata
31
+ uses : docker/metadata-action@v5
32
+ with :
33
+ images : adobe/aem-dispatcher-docker
34
+ - name : Build and push
35
+ uses : docker/build-push-action@v5
36
+ with :
37
+ context : .
38
+ platforms : linux/amd64,linux/arm64
39
+ push : ${{ github.event_name != 'pull_request' }}
40
+ tags : ${{ steps.meta.outputs.tags }}
41
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments