diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml index 9439a6cac25..3d45f403f1d 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 - 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 + container: + image: ghcr.io/${{ github.repository }}-builder:main + volumes: + - ${{ github.workspace }}:/cfgov + credentials: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + run: ./_build.sh - name: Upload arifact uses: keithweaver/aws-s3-github-action@v1.0.0