Skip to content

Merge pull request #2 from Tour-de-App/update-action-to-tda25 #8

Merge pull request #2 from Tour-de-App/update-action-to-tda25

Merge pull request #2 from Tour-de-App/update-action-to-tda25 #8

Workflow file for this run

name: Build and push to TdA
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: "17"
distribution: "adopt"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: MVN Package
run: ./mvnw package
- name: Build
uses: docker/build-push-action@v3
with:
context: ./
file: ./src/main/docker/Dockerfile.jvm
tags: tda:latest
outputs: type=docker,dest=/tmp/tda.tar
- name: Upload to TdA
uses: Tour-de-App/upload-app@tda-25
with:
team_token: ${{ secrets.TEAM_TOKEN }}
image_name: tda
image_path: /tmp/tda.tar