Skip to content

guumaster/aur-publish-docker-action

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

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AUR publish docker action

This action can publish an AUR package.

Requirements

It depends on an environment variable called GITHUB_REF to be present and it should also contain a semantic version in the format v0.0.0 to work properly.

This tag should also comply with rules established to publish versions on AUR repository.

You should add to your secrets an SSH private key that match your key uploaded to your AUR account, so this action can commit and push to it.

Inputs

package_name

Required The AUR package name you want to update.

commit_username

Required The username to use when creating the new commit.

commit_email

Required The email to use when creating the new commit.

ssh_private_key

Required Your private key with access to AUR package.

Example usage

name: aur-publish

on:
  push:
    tags:
      - '*'

jobs:
  aur-publish:
    runs-on: ubuntu-latest
    steps:
      - name: Publish AUR package
        uses: guumaster/aur-publish-docker-action@v1
        with:
          package_name: my-awesome-package
          commit_username: 'Github Action Bot'
          commit_email: [email protected]
          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}