Skip to content

Commit

Permalink
Introduce docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshmalla authored Dec 7, 2023
1 parent d7e0d7a commit 0cb575a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ jobs:
run: rm ~/.m2/settings.xml
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Log in to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: malla/configs-operator
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 0cb575a

Please sign in to comment.