Skip to content

build(deps): bump pymysql from 1.1.0 to 1.1.1 in /sld-api-backend #207

build(deps): bump pymysql from 1.1.0 to 1.1.1 in /sld-api-backend

build(deps): bump pymysql from 1.1.0 to 1.1.1 in /sld-api-backend #207

name: SLD Schedule Docker Image CI
on:
# Triggers the workflow on push events but only for the main branch
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
working-directory: ./sld-schedule
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/sld-schedule:latest