Skip to content

Commit

Permalink
Merge pull request #10 from diddlesnaps/update-image-namespace
Browse files Browse the repository at this point in the history
Update dependencies and container image namespace
  • Loading branch information
Dani Llewellyn authored Oct 24, 2022
2 parents 3405794 + 0f364f7 commit 51ab303
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: diddlesnaps/snapcraft-multiarch-action@v1
```
This will run `snapcraft` using the [snapcraft-container](https://hub.docker.com/r/diddledan/snapcraft)
This will run `snapcraft` using the [snapcraft-container](https://hub.docker.com/r/diddledani/snapcraft)

On success, the action will set the `snap` output parameter to the
path of the built snap. This can be used to save it as an artifact of
Expand Down
6 changes: 3 additions & 3 deletions __tests__/build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ for (const [base, arch, channel] of [
'SNAPCRAFT_BUILD_INFO=1',
'--env',
`USE_SNAPCRAFT_CHANNEL=${channel}`,
`diddledan/snapcraft:${base}`,
`diddledani/snapcraft:${base}`,
'snapcraft'
],
{
Expand Down Expand Up @@ -148,7 +148,7 @@ test('SnapcraftBuilder.build can disable build info', async () => {
`SNAPCRAFT_IMAGE_INFO={"build_url":"https://github.com/user/repo/actions/runs/42"}`,
'--env',
'USE_SNAPCRAFT_CHANNEL=stable',
`diddledan/snapcraft:${default_base}`,
`diddledani/snapcraft:${default_base}`,
'snapcraft'
],
{
Expand Down Expand Up @@ -201,7 +201,7 @@ test('SnapcraftBuilder.build can pass additional arguments', async () => {
`SNAPCRAFT_IMAGE_INFO={"build_url":"https://github.com/user/repo/actions/runs/42"}`,
'--env',
'USE_SNAPCRAFT_CHANNEL=stable',
`diddledan/snapcraft:${default_base}`,
`diddledani/snapcraft:${default_base}`,
'snapcraft',
'--foo',
'--bar'
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class SnapcraftBuilder {
'--workdir',
'/data',
...dockerArgs,
`diddledan/snapcraft:${base}`,
`diddledani/snapcraft:${base}`,
'snapcraft',
...this.snapcraftArgs
], {
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class SnapcraftBuilder {
'--workdir',
'/data',
...dockerArgs,
`diddledan/snapcraft:${base}`,
`diddledani/snapcraft:${base}`,
'snapcraft',
...this.snapcraftArgs
],
Expand Down

0 comments on commit 51ab303

Please sign in to comment.