clear concise complete example
This commit is contained in:
23
.github/workflows/example2.yaml
vendored
Normal file
23
.github/workflows/example2.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Build
|
||||
|
||||
on: [ push ]
|
||||
|
||||
jobs:
|
||||
Build-And-Push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup NodeJS
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '8.17.0'
|
||||
- name: Login to Docker Repo
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USER }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
tags: deltreey/node-docker-broken:latest
|
||||
Reference in New Issue
Block a user