Skip to content

Commit b3fea6b

Browse files
committed
Added Self-Hosted Docker Image build&push workflow
1 parent 834ebb6 commit b3fea6b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build & Push Docker Image
2+
on:
3+
push:
4+
branches: [ master ]
5+
6+
jobs:
7+
build-and-push:
8+
runs-on: [ self-hosted, docker-builder ]
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
13+
- name: Build & Push
14+
uses: docker/build-push-action@v5
15+
with:
16+
context: .
17+
push: true
18+
tags: kirillesau/spring-demo-application:self-hosted

0 commit comments

Comments
 (0)