Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ttktatakai committed Jun 28, 2024
1 parent 242b3ec commit 60417f3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: |
docker login --username=${{ secrets.ALI_ACCOUNT }} --password=${{ secrets.ALI_PASSWORD }} registry.cn-hangzhou.aliyuncs.com
docker build . --file Dockerfile --tag registry.cn-hangzhou.aliyuncs.com/veops/messenger:latest
docker push registry.cn-hangzhou.aliyuncs.com/veops/messenger:latest

0 comments on commit 60417f3

Please sign in to comment.