Skip to content

Commit

Permalink
Update and rename build_and_test_maven.yml to CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bifrurcated authored Jan 13, 2024
1 parent 8e8cd3b commit f8785c0
Showing 1 changed file with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Java CI with Gradle
name: Java CI with Maven

on:
push:
Expand All @@ -12,7 +12,7 @@ permissions:
id-token: write

jobs:
build:
test:
name: Build and Run Tests
runs-on: ubuntu-latest

Expand Down Expand Up @@ -48,3 +48,20 @@ jobs:
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
build-docker-image:
needs: test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
name: Check out code

- name: Docker Build & Push Action
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: bifurcated/wallet
tags: latest
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

0 comments on commit f8785c0

Please sign in to comment.