File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6- - feature/**
76 pull_request :
8- branches :
9- - main
10- - feature/**
11-
127jobs :
138 build :
149 runs-on : ubuntu-latest
3631 with :
3732 name : angular-dist
3833 path : dist/
34+ docker :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Login to Docker Hub
38+ uses : docker/login-action@v3
39+ with :
40+ username : ${{ vars.DOCKERHUB_USERNAME }}
41+ password : ${{ secrets.DOCKERHUB_TOKEN }}
42+
43+ - name : Set up QEMU
44+ uses : docker/setup-qemu-action@v3
45+
46+ - name : Set up Docker Buildx
47+ uses : docker/setup-buildx-action@v3
48+
49+ - name : Build and push
50+ uses : docker/build-push-action@v6
51+ with :
52+ platforms : linux/amd64,linux/arm64
53+ push : true
54+ tags : ${{ vars.DOCKERHUB_USERNAME }}/angular-demo-application:latest
55+ cache-from : type=gha
56+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments