Skip to content

Commit

Permalink
Build docker image using github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Aug 9, 2024
1 parent c7991a5 commit 5141b12
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Docker Image

on:
push:
branches:
- master
pull_request:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}-{{ github.event_name }}
cancel-in-progress: true

jobs:
build-docker-image:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Make docker image
uses: make docker-build

- name: Retag docker image
uses: docker tag stellar/stellar-etl:${{ github.sha }} stellar/stellar-etl-dev:${{ github.sha }}

- name: Push docker image
uses: docker push stellar/stellar-etl-dev:${{ github.sha }}

0 comments on commit 5141b12

Please sign in to comment.