Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Comet docker dev image publisher #87

Comet docker dev image publisher

Comet docker dev image publisher #87

name: Comet docker dev image publisher
on:
schedule:
- cron: '0 1 * * 4'
workflow_dispatch:
jobs:
build:
name: Build product and upload it
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: noraincity
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
noraincity/comet-bot:dev
ghcr.io/starwishsama/comet-bot:dev
noraincity/comet-bot:latest
ghcr.io/starwishsama/comet-bot:latest