mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 03:26:56 +00:00
* chore: update runner os to ubuntu-22.04 Signed-off-by: Pranav C <pranavxc@gmail.com> * docs: formatting Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com>
27 lines
672 B
YAML
27 lines
672 B
YAML
name: "Release: Previous Docker"
|
|
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
tag:
|
|
description: "Previous Docker image tag"
|
|
required: true
|
|
|
|
jobs:
|
|
login:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
-
|
|
name: Login to Docker Hub
|
|
uses: docker/login-action@v2.1.0
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
-
|
|
name: Docker retag and push
|
|
run: |
|
|
docker pull nocodb/nocodb:${{ github.event.inputs.tag }}
|
|
docker image tag nocodb/nocodb:${{ github.event.inputs.tag }} nocodb/nocodb:latest
|
|
docker push nocodb/nocodb:latest
|