/amd64_opensuse_leap_latest

let run script in docker image opensuse/leap:latest

Primary LanguageDockerfileBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

run script in docker image opensuse/leap:latest

This github action let you run a script/file inside the docker image opensuse/leap:latest.

I will not maintain this repository. If you like it, please fork it and use your own fork! This repository may break once!

inputs

cmdfile

The only parameter cmdfile is required and define the script to run.

For an example script, you can look at a trivial example do.

The script is used directly from your repository and run on the root of your repository.

example usage

name: example

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  amd64_opensuse_leap_latest_job_name:
    # https://github.com/daniel-mohr/amd64_opensuse_leap_latest
    runs-on: ubuntu-latest
    name: opensuse leap latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: run my script in docker image
        uses: daniel-mohr/amd64_opensuse_leap_latest@v0
        with:
          cmdfile: script_to_run

repositories using this github action

I use this github action daniel-mohr/amd64_opensuse_leap_latest@v0 in a few projects:

copyright + license

Author: Daniel Mohr.

Date: 2023-04-20.

License: BSD 3-Clause License