We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e3d33 commit 828994dCopy full SHA for 828994d
.github/workflows/deploy.yaml
@@ -8,7 +8,17 @@ jobs:
8
build:
9
runs-on: ubuntu-latest
10
steps:
11
- - uses: actions/checkout@v4
12
- - run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
13
- - run: docker build -t mmaksi/react-nginx -f Dockerfile.dev .
14
- - run: docker run -e CI=true mmaksi/react-nginx npm run test
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Log in to Docker Hub
15
+ uses: docker/login-action@v3
16
+ with:
17
+ username: ${{ secrets.DOCKER_USERNAME }}
18
+ password: ${{ secrets.DOCKER_TOKEN }}
19
20
+ - name: Build Docker image
21
+ run: docker build -t mmaksi/react-nginx -f Dockerfile.dev .
22
23
+ - name: Run tests in container
24
+ run: docker run -e CI=true mmaksi/react-nginx npm run test
0 commit comments