Skip to content

Github action to upload mender artifacts to a mender server

License

Notifications You must be signed in to change notification settings

quartx-analytics/mender-artifact-uploader

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mender Docker Compose Artifact

This action uploads mender artifacts to a mender server.

Refer mender

Usage

See action.yml

See Mender docker-compose action

Create Artifact

steps:
  - uses: actions/checkout@v2

  - id: mender
    name: Create mender artifact
    uses: quartx-analytics/[email protected]
    with:
      compose-file: "docker-compose.yml"
      software-name: "project-name"
      device-types: "raspberrypi3 raspberrypi4"

  - name: Upload mender artifact
    uses: quartx-analytics/[email protected]
    with:
      artifact: ${{ steps.mender.outputs.artifact-file }}
      username: ${{ secrets.MENDER_USER }}
      password: ${{ secrets.MENDER_PASS }}

Here we use our other action to create mender artifacts, then use this upload action to upload the artifact to mender. There are 3 required parameters that need to be passed to the upload action. The path to the artifact file, the username & password for the mender server. It is recommended to use Github secrets for the username & password parameters.

License

The scripts and documentation in this project are released under the Apache License

About

Github action to upload mender artifacts to a mender server

Resources

License

Stars

Watchers

Forks