Skip to content

Merge pull request #3 from nocodb/renovate/docker-build-push-action-5.x #5

Merge pull request #3 from nocodb/renovate/docker-build-push-action-5.x

Merge pull request #3 from nocodb/renovate/docker-build-push-action-5.x #5

Workflow file for this run

name: Build and Push Docker Images
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: |
nocodb/nginx-secure:${{ github.sha }}
nocodb/nginx-secure:latest