CI
This commit is contained in:
parent
5dec409bee
commit
2d64163030
1 changed files with 2 additions and 5 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Docker Image CI
|
||||
name: docker
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
@ -6,10 +6,7 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16'
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build the Docker image
|
||||
run: |
|
||||
echo "${{ secrets.DOCKER_HUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin docker.io
|
||||
|
|
Loading…
Add table
Reference in a new issue