Skip to content

Commit d3edf0a

Browse files
Create seq-forwarder-build.yml
1 parent 5a9a46d commit d3edf0a

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build Seq-Forwarder
2+
3+
# This workflow uses actions that are not certified by GitHub.
4+
# They are provided by a third-party and are governed by
5+
# separate terms of service, privacy policy, and support
6+
# documentation.
7+
8+
on:
9+
push:
10+
branches: [ "dev" ]
11+
pull_request:
12+
branches: [ "dev" ]
13+
14+
jobs:
15+
build:
16+
name: 'Build and Push - Seq Forwarder'
17+
runs-on: ubuntu-latest
18+
19+
defaults:
20+
run:
21+
shell: bash
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Docker Login
28+
uses: azure/docker-login@v1
29+
with:
30+
login-server: ${{ secrets.ACR_URL }}
31+
username: ${{ secrets.ACR_USERNAME }}
32+
password: ${{ secrets.ACR_PASSWORD }}
33+
34+
- name: Build and Push to ACR
35+
uses: docker/build-push-action@v2
36+
with:
37+
push: true
38+
tags: ${{ secrets.ACR_URL }}/seqfwd:latest
39+
file: ./dockerfile

0 commit comments

Comments
 (0)