Files
dickbot/.github/workflows/docker-image.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 20: mapping key "run" already defined at line 19
2025-01-24 16:24:34 +03:00

21 lines
425 B
YAML

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 build -t smilerex/dickbot:latest .
- name: Deploy image to docker hub
run: docker login -u ${DOCKER_LOGIN} -p ${DOCKER_TOKEN}
run: docker push smilerex/dickbot:latest