Skip to content

Build docker image using github actions #2

Build docker image using github actions

Build docker image using github actions #2

Workflow file for this run

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
working-directory: .
uses: actions/checkout@v3

Check failure on line 22 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build Docker Image

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 22, Col: 9): Unexpected value 'uses' .github/workflows/build.yml (Line: 20, Col: 9): Required property is missing: run
- name: Make docker image
working-directory: .
run: make docker-build
- name: Retag docker image
working-directory: .
run: docker tag stellar/stellar-etl:${{ github.sha }} stellar/stellar-etl-dev:${{ github.sha }}
- name: Push docker image
working-directory: .
run: docker push stellar/stellar-etl-dev:${{ github.sha }}