Skip to content

라이브러리 하위 프로젝트 커밋 참조 업데이트 #9

라이브러리 하위 프로젝트 커밋 참조 업데이트

라이브러리 하위 프로젝트 커밋 참조 업데이트 #9

Workflow file for this run

name: Github Actions
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
with:
images: |
goemktg/recruit-bot
tags: |
type=semver,pattern={{version}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}