Skip to content

update node to 18.17.1 #54

update node to 18.17.1

update node to 18.17.1 #54

Workflow file for this run

name: docker build and publish
on:
push:
branches:
- main
jobs:
build-and-publish:
name: build and publish
runs-on: ubuntu-latest
steps:
- name: Get Short SHA
id: sha
run: echo "::set-output name=sha7::$(echo ${GITHUB_SHA} | cut -c1-7)"
- name: Checkout Code
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ github.repository }}:${{ steps.sha.outputs.sha7 }}