Fixed retraining pipeline #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Creditcard model deployment Docker Image CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-push-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build and push the Docker Image to the GitHub Container Registry | |
uses: actions/checkout@v3 | |
- name: Build and push the Docker Image to the GitHub Container Registry | |
uses: docker/login-action@v2.2.0 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push Docker images | |
uses: docker/build-push-action@v4.1.0 | |
with: | |
context: ./deployment/ | |
file: ./deployment/Dockerfile | |
push: true | |
tags: ghcr.io/khaosresearch/deploy-creditcard | |
labels: latest |