Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix github actions errors #27

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Continuous Integration
uses: ./.github/workflows/__shared-ci.yml
secrets:
oci-registry-password: ${{ secrets.GHCR_PAT_TOKEN }}
oci-registry-password: ${{ secrets.GITHUB_TOKEN }}

get-available-images-matrix:
uses: ./.github/workflows/__shared-get-available-images-matrix.yml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Continuous Integration
uses: ./.github/workflows/__shared-ci.yml
secrets:
oci-registry-password: ${{ secrets.GHCR_PAT_TOKEN }}
oci-registry-password: ${{ secrets.GITHUB_TOKEN }}

update-pr:
if: ${{ needs.ci.outputs.built-images }}
Expand Down Expand Up @@ -38,13 +38,13 @@ jobs:

const commentMessage = Object.values(builtImages).map(({name,images}) => {
const imagesToPull = images.map(image => `\`\`\`\ndocker pull ${image}\n\`\`\``).join("\n");

return `### ${name}\n${imagesToPull}`;
}).join("\n");

if(commentMessage.length){
core.setOutput(
'comment-body',
'comment-body',
commentMessage + "\n\nOnce the Pull Request gets validated, these(s) image(s) will automatically be deleted."
);
} else {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
oci-registry: ${{ vars.OCI_REGISTRY }}
images: ${{ needs.get-images-to-build.outputs.images }}
secrets:
oci-registry-password: ${{ secrets.GHCR_PAT_TOKEN }}
oci-registry-password: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ lint: ## Execute linting (https://github.com/github/super-linter)
# Argument fix workaround
#############################
%:
@:
@:
Loading