diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 4489eb2893..10823010b9 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -7,18 +7,20 @@ jobs: runs-on: ubuntu-latest env: REGISTRY: ghcr.io + IMAGE: doldecomp/build-melee:main steps: - uses: actions/checkout@v4 - name: Log into container registry uses: docker/login-action@v2 with: - registry: ghcr.io + registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Grab Melee DOL run: | - docker pull "ghcr.io/doldecomp/build-melee:main" - container_id=$(docker create "ghcr.io/doldecomp/build-melee:main") + image="$REGISTRY/$IMAGE" + docker pull "$image" + container_id=$(docker create "$image") docker cp "$container_id":/orig . - uses: cachix/install-nix-action@v25 with: