Skip to content

Commit 1613dd2

Browse files
committed
Trigger Pipeline
1 parent b1375d4 commit 1613dd2

1 file changed

Lines changed: 23 additions & 5 deletions

File tree

.github/workflows/build-application.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ on:
33
push:
44
branches:
55
- main
6-
- feature/**
76
pull_request:
8-
branches:
9-
- main
10-
- feature/**
11-
127
jobs:
138
build:
149
runs-on: ubuntu-latest
@@ -36,3 +31,26 @@ jobs:
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

0 commit comments

Comments
 (0)