update build

This commit is contained in:
Jeffrey C. Ollie 2023-08-17 12:43:01 -05:00
parent 89b656f802
commit 7d3d72821c
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -12,16 +12,16 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: set - run: set
- run: nix build -L .#nixos-runner - run: nix build -L .#nixos-runner
# - uses: redhat-actions/podman-login@v1 - uses: redhat-actions/podman-login@v1
# with: with:
# registry: ghcr.io/${{ github.repository_owner }} registry: ghcr.io/${{ github.repository_owner }}
# username: ${{ github.actor }} username: ${{ github.actor }}
# password: ${{ github.token }} password: ${{ github.token }}
- run: echo -n "${PASSWORD}" | podman login --username ${USERNAME} --password-stdin ${REPOSITORY} # - run: echo -n "${PASSWORD}" | podman login --username ${USERNAME} --password-stdin ${REPOSITORY}
env: # env:
REPOSITORY: ghcr.io/${{ github.repository_owner }} # REPOSITORY: ghcr.io/${{ github.repository_owner }}
USERNAME: ${{ github.actor }} # USERNAME: ${{ github.actor }}
PASSWORD: ${{ github.token }} # PASSWORD: ${{ github.token }}
- run: podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/loaded-image=\\1/p" >> $GITHUB_OUTPUT - run: podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/loaded-image=\\1/p" >> $GITHUB_OUTPUT
id: podman-load-image id: podman-load-image
- run: podman images - run: podman images