Skip to content

Commit

Permalink
step in container
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Sep 14, 2023
1 parent fc7fb38 commit 1d27221
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit 1d27221

Please sign in to comment.