Skip to content

Commit

Permalink
Merge pull request #185 from crazy-max/switch-image
Browse files Browse the repository at this point in the history
switch default image to ghcr.io/crazy-max/chocolatey
  • Loading branch information
crazy-max authored Oct 25, 2024
2 parents 28e7985 + 6d2509b commit 2ae9952
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
uses: ./
with:
args: -h
image: ghaction-chocolatey:local
image: chocolatey:local
-
name: Choco install InnoSetup
uses: ./
with:
args: install innosetup --no-progress
image: ghaction-chocolatey:local
image: chocolatey:local

windows:
runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

env:
DOCKERHUB_SLUG: crazymax/ghaction-chocolatey
GHCR_SLUG: ghcr.io/crazy-max/ghaction-chocolatey
GHCR_SLUG: ghcr.io/crazy-max/chocolatey

jobs:
release:
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
Following inputs can be used as `step.with` keys

| Name | Type | Description |
|---------|--------|-----------------------------------------------------------------------|
| `args` | String | Arguments to pass to Chocolatey |
| `image` | String | Docker image to use (default `ghcr.io/crazy-max/ghaction-chocolatey`) |
| Name | Type | Description |
|---------|--------|--------------------------------------------------------------|
| `args` | String | Arguments to pass to Chocolatey |
| `image` | String | Docker image to use (default `ghcr.io/crazy-max/chocolatey`) |

## Limitation

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
required: true
image:
description: 'Docker image to use'
default: 'ghcr.io/crazy-max/ghaction-chocolatey'
default: 'ghcr.io/crazy-max/chocolatey'
required: false

runs:
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ target "vendor-validate" {
#

variable "DEFAULT_TAG" {
default = "ghaction-chocolatey:local"
default = "chocolatey:local"
}

// Special target: https://github.com/docker/metadata-action#bake-definition
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function run() {

const workspace = process.env['GITHUB_WORKSPACE'] || '.';
const args = core.getInput('args', {required: true});
const image = core.getInput('image') || 'ghcr.io/crazy-max/ghaction-chocolatey';
const image = core.getInput('image') || 'ghcr.io/crazy-max/chocolatey';

if (os.platform() == 'win32') {
core.startGroup('Running choco');
Expand Down

0 comments on commit 2ae9952

Please sign in to comment.