Skip to content

Commit

Permalink
Update build-test.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Md Imran <[email protected]>
  • Loading branch information
narmidm authored May 20, 2024
1 parent 0c7b9d5 commit 3d3cb04
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
name: build-test
on:
push:
name: Build Docker Image Test

on:
push:
branches:
- master
pull_request:

jobs:
test:
build:
runs-on: ubuntu-latest

steps:
- uses: docker/build-push-action@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
tags: gateway-sidecar:latest
context: .
push: false
tags: gateway-sidecar:latest
build-args: |
PLATFORM=amd64
file: Dockerfile

0 comments on commit 3d3cb04

Please sign in to comment.