From eea35fd7eda6f13c34cc537898d93c13de2737e3 Mon Sep 17 00:00:00 2001 From: Wyatt Pearsall Date: Wed, 13 Sep 2023 23:52:45 -0400 Subject: [PATCH 1/2] Revert "step in container" This reverts commit 1d27221a53b8704d524b8d16a01d33249abc37a6. --- .github/workflows/build-artifact.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml index 3d45f403f1d..9439a6cac25 100644 --- a/.github/workflows/build-artifact.yml +++ b/.github/workflows/build-artifact.yml @@ -25,14 +25,14 @@ jobs: run: yarn run build - name: Run the build process with Docker - container: - image: ghcr.io/${{ github.repository }}-builder:main - volumes: - - ${{ github.workspace }}:/cfgov - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - run: ./_build.sh + uses: addnab/docker-run-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + image: ${{ github.repository }}-builder:main + options: -v ${{ github.workspace }}:/cfgov + run: ./_build.sh - name: Upload arifact uses: keithweaver/aws-s3-github-action@v1.0.0 From 69f336fa177e3b5be5763fd660491f4a31bbe196 Mon Sep 17 00:00:00 2001 From: Wyatt Pearsall Date: Wed, 13 Sep 2023 23:54:41 -0400 Subject: [PATCH 2/2] qualify image --- .github/workflows/build-artifact.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml index 9439a6cac25..6dda241c4b5 100644 --- a/.github/workflows/build-artifact.yml +++ b/.github/workflows/build-artifact.yml @@ -30,7 +30,7 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - image: ${{ github.repository }}-builder:main + image: ghcr.io/${{ github.repository }}-builder:main options: -v ${{ github.workspace }}:/cfgov run: ./_build.sh