Skip to content

Updated readme.

Updated readme. #12

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Build the Docker image
# run: docker build . --file Dockerfile --tag yaleh/meta-prompt:$(date +%s)
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Publish Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
yaleh/meta-prompt:${{ github.sha }}
${{ github.ref == 'refs/heads/main' && 'yaleh/meta-prompt:latest' || '' }}