Skip to content

fix gh action

fix gh action #3

Workflow file for this run

name: CI/CD
on:
workflow_dispatch:
push:
paths-ignore:
- '**.md'
jobs:
run-testbed:
# env:
# DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
# DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Debug
run: |
ls -la
- uses: actions/checkout@v3
with:
repository: edigonzales/dmav-validierungsmodell-testbed
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Debug
run: |
ls -la
# - name: Build
# run: |
# ./gradlew clean build -x test
# ls -la build/libs
# - name: Login to Docker Container Registry
# uses: docker/login-action@v2
# with:
# username: ${{ env.DOCKER_USERNAME }}
# password: ${{ env.DOCKER_PASSWORD }}
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
# - name: Build Docker Image
# run: |
# ./gradlew buildAndPushMultiArchImage