Skip to content

修改Dockerfile

修改Dockerfile #3

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag zhu0823/dockerlistener:latest
- name: Docker Login
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Push Docker Image
run: docker push zhu0823/dockerlistener:latest