Skip to content

Commit

Permalink
add github action for dev
Browse files Browse the repository at this point in the history
  • Loading branch information
patelradhika committed May 20, 2024
1 parent 95b09ff commit 97621c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: Build and Push to Development
name: Build and Push to Dev

on:
push:
branches:
- dev

- master
jobs:
build:
name: Build and Push to GCR
runs-on: ubuntu-latest
env:
IMAGE_NAME: gcr.io/dev-buildly/transparent-path/buildly-core
IMAGE_NAME: gcr.io/spry-bricolage-298920/transparent-path/dev/buildly-core
steps:
- uses: actions/checkout@v2

Expand All @@ -19,7 +18,7 @@ jobs:
with:
registry: gcr.io
username: _json_key
password: ${{ secrets.DEV_GCR_JSON_KEY }}
password: ${{ secrets.GCR_JSON_KEY }}

- name: Build docker image
run: docker build -t $IMAGE_NAME:latest .
Expand Down

0 comments on commit 97621c3

Please sign in to comment.