{"id":20029878,"url":"https://github.com/regclient/actions","last_synced_at":"2025-03-02T05:15:47.730Z","repository":{"id":107029441,"uuid":"502726862","full_name":"regclient/actions","owner":"regclient","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-16T14:52:55.000Z","size":46,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T17:45:24.500Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regclient.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-12T21:00:34.000Z","updated_at":"2024-10-16T14:53:00.000Z","dependencies_parsed_at":"2023-11-12T14:41:47.557Z","dependency_job_id":"f15c2978-cec0-4cc2-a59f-059b671f536d","html_url":"https://github.com/regclient/actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regclient%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regclient%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regclient%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regclient%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regclient","download_url":"https://codeload.github.com/regclient/actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460204,"owners_count":19966519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:23:24.471Z","updated_at":"2025-03-02T05:15:47.712Z","avatar_url":"https://github.com/regclient.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# regclient actions\n\nThis repo contains various GitHub actions for regclient.\n\n## regctl-install\n\nThis action installs the `regctl` binary.\n\n### regctl-install Usage\n\n```yaml\n- name: Install regctl\n  uses: regclient/actions/regctl-installer@main\n  with:\n    release: 'v0.4.7' # optional version\n```\n\n### regctl-installer Inputs\n\nThe following inputs are available for regctl-installer:\n\n| Input | Description |\n| --- | --- |\n| `release` | `regctl` version to use. Defaults to `latest` (most recent release). Set to `main` to build the latest commit using `go install`. |\n| `install-dir` | directory to place the `regctl` binary into instead of the default (`$HOME/.regctl/bin`). |\n\nIf cosign is installed, signatures on downloaded binaries will be verified.\n\n## regctl-login\n\nThis action performs a login to a registry, similar to `docker login`.\n\n### regctl-login Usage\n\n```yaml\n- name: regctl login\n  uses: regclient/actions/regctl-login@main\n```\n\n### regctl-login Inputs\n\nThe following inputs are available for regctl-login:\n\n| Input | Description |\n| --- | --- |\n| `registry` | Registry to use. Defaults to `ghcr.io`. Use `docker.io` to login to Docker Hub. |\n| `username` | Username for the login. Defaults to `${{ github.actor }}`. |\n| `password` | Password for the login. Defaults to `${{ github.token }}`. |\n\n## Examples\n\nInstall latest release:\n\n```yaml\njobs:\n  example:\n    runs-on: ubuntu-latest\n    name: example\n    steps:\n      # if cosign is installed, signatures will be verified\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main\n      - name: Install regctl\n        uses: regclient/actions/regctl-installer@main\n      - name: regctl login\n        uses: regclient/actions/regctl-login@main\n```\n\nInstall from `main` branch using `go install`, and login to Docker Hub using a secret:\n\n```yaml\njobs:\n  example:\n    runs-on: ubuntu-latest\n    name: example\n    steps:\n      - name: Set up Go\n        uses: actions/setup-go@v3\n      - name: Install cosign\n        uses: sigstore/cosign-installer@main\n      - name: Install regctl\n        uses: regclient/actions/regctl-installer@main\n        with:\n          release: 'main'\n      - name: regctl login\n        uses: regclient/actions/regctl-login@main\n        with:\n          registry: docker.io\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n```\n\n## Project Details\n\nFor more details on the regclient project, see [regclient/regclient](https://github.com/regclient/regclient).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregclient%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregclient%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregclient%2Factions/lists"}