Spaces:
Runtime error
Runtime error
File size: 684 Bytes
c39ce8e b7f9d2e c39ce8e b7f9d2e c39ce8e b7f9d2e c39ce8e b7f9d2e 1785fdb b7f9d2e c39ce8e b7f9d2e 1785fdb b7f9d2e 9383bfc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
name: Build and Publish Docker Image to DockerHub
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build and push Docker image
run: |
docker build -t ${{ secrets.DOCKER_USERNAME }}/docverifyrag:latest .
docker push ${{ secrets.DOCKER_USERNAME }}/docverifyrag:latest
|