SAP-archive / devops-docker-mta-archive-builder

Dockerfile the MTA Archive Builder is deprecated and sunset.
5 stars 7 forks source link

Make this image available as a GitHub Action #25

Closed Guerric-P closed 3 years ago

Guerric-P commented 4 years ago

It would be very useful to add a action.yml file with the required inputs, in order to use it as an Action

fwilhe commented 4 years ago

Hi @Guerric-P

thanks for your suggestion, but I need to inform you that this image and the java-based build tool it uses are not maintained anymore. The new go-based tool is here, they also maintain a Docker image over there.

But we might already have something that suits your needs: Project "piper" action is a GitHub Action that can make use of this image via the mtaBuild step.

A usage example that installs the Cloud MTA Build tool and runs mtaBuild would be

      - run: curl -L "https://github.com/SAP/cloud-mta-build-tool/releases/download/v1.0.15/cloud-mta-build-tool_1.0.15_Linux_amd64.tar.gz" | sudo tar -zx -C /usr/local/bin

      - name: mtaBuild
        uses: SAP/project-piper-action@master
        with:
          command: mtaBuild
          flags: "--installArtifacts"
          piper-version: master

I hope this helps.

Best,

Florian