Skip to content

[support] Supported slack notify. #128

[support] Supported slack notify.

[support] Supported slack notify. #128

Workflow file for this run

name: Publish Docker image(dev)
on:
push:
paths:
- '.github/**'
- 'files/**'
- 'jpnic_admin/**'
- 'manage.py'
- 'Dockerfile'
- 'requirements.txt'
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/homenoc/jpnic_admin
- uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ghcr.io/homenoc/jpnic_admin:develop
labels: "develop version"
cache-from: type=gha
cache-to: type=gha,mode=max