Skip to content

Update README.md

Update README.md #20

name: Docker Build and Push
on:
push:
branches: [ main ]
tags: [ 'v*.*.*' ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
build-args: |
BUILD_ENV=ci
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/dockerized-copa:latest
${{ secrets.DOCKERHUB_USERNAME }}/dockerized-copa:0.9.0