chore: update dependencies (#34)

* chore: update dependencies

This updates the @actions/core to 1.10.x, which is required to fix the
deprecated state functionality. See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

closes #33

* style: fix lint errors
This commit is contained in:
Jens Reimann 2023-03-11 13:46:14 +01:00 committed by GitHub
parent 7283c5d4ff
commit 8cb6c181aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1603 additions and 5617 deletions

View file

@ -23,7 +23,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install latest podman - name: Install latest podman
if: matrix.install_latest if: matrix.install_latest
@ -50,7 +50,7 @@ jobs:
install_latest: [ true, false ] install_latest: [ true, false ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install latest podman - name: Install latest podman
if: matrix.install_latest if: matrix.install_latest
@ -76,7 +76,7 @@ jobs:
install_latest: [ true, false ] install_latest: [ true, false ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Install latest podman - name: Install latest podman
if: matrix.install_latest if: matrix.install_latest

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
node_modules/ node_modules/
out/ out/
.idea/

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3277
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -21,7 +21,7 @@
"author": "Red Hat", "author": "Red Hat",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.9.1", "@actions/core": "^1.10.0",
"@actions/exec": "^1.0.4", "@actions/exec": "^1.0.4",
"@actions/io": "^1.0.2", "@actions/io": "^1.0.2",
"@aws-sdk/client-ecr": "^3.100.0", "@aws-sdk/client-ecr": "^3.100.0",
@ -29,13 +29,13 @@
}, },
"devDependencies": { "devDependencies": {
"@redhat-actions/action-io-generator": "^1.5.0", "@redhat-actions/action-io-generator": "^1.5.0",
"@redhat-actions/eslint-config": "^1.2.11", "@redhat-actions/eslint-config": "^1.3.2",
"@redhat-actions/tsconfig": "^1.1.1", "@redhat-actions/tsconfig": "^1.2.0",
"@types/node": "^12", "@types/node": "^16.18.11",
"@typescript-eslint/eslint-plugin": "^4.14.1", "@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1", "@typescript-eslint/parser": "^4.33.0",
"@vercel/ncc": "^0.25.1", "@vercel/ncc": "^0.36.1",
"eslint": "^7.18.0", "eslint": "^7.32.0",
"typescript": "^4.0.5" "typescript": "^4.9.5"
} }
} }

View file

@ -75,8 +75,7 @@ async function run(): Promise<void> {
if (process.env.XDG_RUNTIME_DIR) { if (process.env.XDG_RUNTIME_DIR) {
authFileDir = process.env.XDG_RUNTIME_DIR; authFileDir = process.env.XDG_RUNTIME_DIR;
} }
podmanAuthFilePath = path.join(authFileDir, podmanAuthFilePath = path.join(authFileDir, "containers", "auth.json");
"containers", "auth.json");
} }
const REGISTRY_AUTH_ENVVAR = "REGISTRY_AUTH_FILE"; const REGISTRY_AUTH_ENVVAR = "REGISTRY_AUTH_FILE";
core.info(`Exporting ${REGISTRY_AUTH_ENVVAR}=${podmanAuthFilePath}`); core.info(`Exporting ${REGISTRY_AUTH_ENVVAR}=${podmanAuthFilePath}`);