|
|
@ -1,4 +1,4 @@
|
|
|
|
name: Docker Image CI
|
|
|
|
name: docker
|
|
|
|
on:
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
branches: [ main ]
|
|
|
@ -7,9 +7,6 @@ jobs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
node-version: '16'
|
|
|
|
|
|
|
|
- name: Build the Docker image
|
|
|
|
- name: Build the Docker image
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io
|
|
|
|
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io
|
|
|
|