-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer to specify username over sudo with inherit ENV (#434)
* Prefer to specify username over sudo with inherit ENV * Replace where with which for bash I know nothing about Unix and shells https://unix.stackexchange.com/questions/63781/what-is-the-difference-between-which-and-where * Failing to build conatiner root have nix path here * Ah... removing paren here? * Do not wait other checks except release Now build is enought fast, so needles this waiting * Split layers for debug * Using nix run with sudo without -E made root owned file... * Fix to handle sudo and keeping env * Run nix gc after each nix run to make better layers
- Loading branch information
Showing
6 changed files
with
59 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,15 @@ jobs: | |
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build Image | ||
id: build-image | ||
uses: redhat-actions/[email protected] | ||
with: | ||
image: home | ||
tags: latest ${{ github.sha }} | ||
containerfiles: | | ||
Containerfile | ||
oci: true | ||
- name: Wait other jobs | ||
uses: kachick/wait-other-jobs@v2 | ||
timeout-minutes: 10 | ||
|
@@ -31,15 +40,6 @@ jobs: | |
"workflowFile": "release.yml" | ||
} | ||
] | ||
- name: Build Image | ||
id: build-image | ||
uses: redhat-actions/[email protected] | ||
with: | ||
image: home | ||
tags: latest ${{ github.sha }} | ||
containerfiles: | | ||
Containerfile | ||
oci: true | ||
- name: Push To ghcr.io | ||
id: push-to-ghcr | ||
if: ${{ github.event_name != 'pull_request' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters