Skip to content

feat: added a web server for deployment status #10

feat: added a web server for deployment status

feat: added a web server for deployment status #10

Workflow file for this run

name: Build and push docker image
on:
push:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- "Dockerfile"
branches:
- main
- gin-server
jobs:
docker:
permissions:
packages: write
contents: write
runs-on: ubuntu-latest
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
- name: Login to Docker registry
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@v6
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest