Skip to content

update node to 20.15.0 #69

update node to 20.15.0

update node to 20.15.0 #69

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@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ steps.sha.outputs.sha7 }}