From 7d3d72821c331c2b9f2c0e2529bc70ec16d960ae Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Thu, 17 Aug 2023 12:43:01 -0500 Subject: [PATCH] update build --- .github/workflows/build.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1064830..fead6fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,16 +12,16 @@ jobs: - uses: actions/checkout@v3 - run: set - run: nix build -L .#nixos-runner - # - uses: redhat-actions/podman-login@v1 - # with: - # registry: ghcr.io/${{ github.repository_owner }} - # username: ${{ github.actor }} - # password: ${{ github.token }} - - run: echo -n "${PASSWORD}" | podman login --username ${USERNAME} --password-stdin ${REPOSITORY} - env: - REPOSITORY: ghcr.io/${{ github.repository_owner }} - USERNAME: ${{ github.actor }} - PASSWORD: ${{ github.token }} + - uses: redhat-actions/podman-login@v1 + with: + registry: ghcr.io/${{ github.repository_owner }} + username: ${{ github.actor }} + password: ${{ github.token }} + # - run: echo -n "${PASSWORD}" | podman login --username ${USERNAME} --password-stdin ${REPOSITORY} + # env: + # REPOSITORY: ghcr.io/${{ github.repository_owner }} + # USERNAME: ${{ github.actor }} + # PASSWORD: ${{ github.token }} - run: podman load --input result | sed -n -e "s/Loaded image:.\\(.*\\)/loaded-image=\\1/p" >> $GITHUB_OUTPUT id: podman-load-image - run: podman images