node 22 #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: DockerHub | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 20 1 * *" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Node 22 | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: node22/Dockerfile | |
push: true | |
tags: splintnet/alpine-node:latest,splintnet/alpine-node:node22,splintnet/alpine-node:22 | |
- name: Node 19 | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: node19/Dockerfile | |
push: true | |
tags: splintnet/alpine-node:node19,splintnet/alpine-node:19 | |
- name: Node 18 | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: node18/Dockerfile | |
push: true | |
tags: splintnet/alpine-node:node18,splintnet/alpine-node:18 | |
- name: Node 16 | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: node16/Dockerfile | |
push: true | |
tags: splintnet/alpine-node:node16,splintnet/alpine-node:16 | |
- name: Node 15 | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: node15/Dockerfile | |
push: true | |
tags: splintnet/alpine-node:node15,splintnet/alpine-node:15 |