Skip to content

Commit

Permalink
feat: build Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroEduardo committed Dec 18, 2023
1 parent 7b0f1db commit 004ddf8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,19 @@ jobs:

- name: 'Build with Gradle'
run: ./gradlew build --no-daemon

docker-build:
runs-on: ubuntu-latest
steps:
- name: 'Check out repository'
uses: actions/checkout@v3

- name: Build Docker image
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
build-args: |
APP_VERSION=${{github.ref_name}}
tags: eduardoferro/capivara:${{ github.sha }}
push: false

0 comments on commit 004ddf8

Please sign in to comment.