No description
Find a file
Jeanne Franco 56387f249b
Merge pull request #20 from hashicorp/compliance/update-headers
[IND-4227] [COMPLIANCE] Update Copyright Headers
2026-01-09 08:34:14 -08:00
.github [Compliance] - PR Template Changes Required (#17) 2025-09-16 15:06:17 -07:00
META.d [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
scripts [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
.gitignore inital setup for action 2023-09-07 15:31:12 -04:00
action.yml [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
CODEOWNERS Update CODEOWNERS for SMRE (#13) 2024-04-26 13:09:50 -07:00
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-12-09 10:14:19 +00:00
README.md update the art to the latest version 2023-09-20 07:49:07 -04:00

setup-artifactory-repo-tool

GitHub Action to install artifactory-repo-tool.

Usage

jobs:
  Setup artifactory-repo-tool:
    runs-on: ubuntu-latest
    steps:
      # ... potentially other steps ...
      - uses: hashicorp/artifactory-repo-tool@v1
        with:
          github-token: ${{ secrets.ART_GITHUB_TOKEN }}

Inputs

Input Description Default
github-token GitHub token with release asset access to artifactory-repo-tool.
version Version of artifactory-repo-tool to install. Latest release

Outputs

Output Description
version Version of artifactory-repo-tool installed.

Development

Test locally with act. You'll need a GitHub token authorized to download release assets from the artifactory-repo-tool repository.

act --container-architecture=linux/amd64 --input github-token=$(gh auth token) workflow_dispatch

Creating a Release

After your PR is merged to the default branch, main:

  1. Update locally: git checkout main && git pull
  2. Create a new tag for the release, e.g. v1.0.0 with git tag v1.0.0 && git push origin v1.0.0.
  3. Update the major version tag locally, e.g. git tag -d v1 && git tag v1
  4. Update the tag upstream, e.g. git push origin :refs/tags/v1 && git push origin v1