Skip to content

Update golang Docker tag to v1.23.4 (#413) #20

Update golang Docker tag to v1.23.4 (#413)

Update golang Docker tag to v1.23.4 (#413) #20

name: Build Backend for Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
backend:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: piny940
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
push: true
context: ./backend
file: ./backend/Dockerfile
tags: |
ghcr.io/piny940/kintai-backend:1.0.${{ github.run_number }}
ghcr.io/piny940/kintai-backend:latest