another attempt
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m16s
Some checks failed
Create OCI image(s) / Build and push images (push) Failing after 1m16s
This commit is contained in:
parent
9148cf507e
commit
0167a6389a
2 changed files with 16 additions and 6 deletions
|
|
@ -31,6 +31,21 @@ jobs:
|
|||
mkdir -p ~/.config/containers
|
||||
echo '{ "default": [ {"type":"insecureAcceptAnything"} ] }' > ~/.config/containers/policy.json
|
||||
|
||||
- name: Create image
|
||||
run: |
|
||||
nix-build src/default.nix | podman load
|
||||
|
||||
- uses: https://github.com/Frozen-Tapestry/container-action@v1
|
||||
with:
|
||||
login_registry: ${{ env.registry }}
|
||||
login_username: ${{ env.actor }}
|
||||
login_password: ${{ env.token }}
|
||||
|
||||
tags: ${{ env.registry }}/${{ env.owner }}/${{ env.image }}:${{ env.tag }}
|
||||
# tags: localhost/${{ env.image }}:${{ env.tag }}
|
||||
|
||||
push: true
|
||||
|
||||
- name: Log into registry
|
||||
run: >-
|
||||
podman login
|
||||
|
|
@ -40,11 +55,6 @@ jobs:
|
|||
--password "${{ forge.token }}"
|
||||
${{ env.registry }}
|
||||
|
||||
- name: Create image
|
||||
run: |
|
||||
nix-build src/default.nix
|
||||
podman load < result
|
||||
|
||||
- name: __DEBUG__
|
||||
run: |
|
||||
echo "~/.config/containers/auth.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue