mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
ensure dirs exists after load
This commit is contained in:
parent
8aef0e24f8
commit
3938fc7248
1 changed files with 7 additions and 2 deletions
|
|
@ -64,8 +64,8 @@ runs:
|
||||||
- name: Make cache directory
|
- name: Make cache directory
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /cache/dnf /cache/skopeo
|
sudo mkdir /cache
|
||||||
sudo chmod 777 /cache /cache/dnf /cache/skopeo
|
sudo chmod 777 /cache
|
||||||
|
|
||||||
- name: Load dnf cache
|
- name: Load dnf cache
|
||||||
id: load_dnf_cache
|
id: load_dnf_cache
|
||||||
|
|
@ -87,6 +87,11 @@ runs:
|
||||||
path: /cache/skopeo
|
path: /cache/skopeo
|
||||||
key: ${{ inputs.skopeo_cache_key || env.skopeo_cache_key }}
|
key: ${{ inputs.skopeo_cache_key || env.skopeo_cache_key }}
|
||||||
|
|
||||||
|
- name: Ensure cache directories exist
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
mkdir /cache/dnf /cache/skopeo
|
||||||
|
|
||||||
- name: Run docker image
|
- name: Run docker image
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue