fix data #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Push to Development | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build and Push to GCR | |
runs-on: ubuntu-latest | |
env: | |
IMAGE_NAME: gcr.io/dev-buildly/insights/dev/buildly-core | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Docker login | |
uses: docker/login-action@v1 | |
with: | |
registry: gcr.io | |
username: _json_key | |
password: ${{ secrets.GCR_JSON_KEY }} | |
- name: Build docker image | |
run: docker build -t $IMAGE_NAME:latest . | |
- name: Push to Google Container Registry | |
run: docker push $IMAGE_NAME:latest |