mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
669 B
27 lines
669 B
3 years ago
|
name: "Release: Previous Docker"
|
||
|
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
inputs:
|
||
|
tag:
|
||
|
description: "Previous Docker image tag"
|
||
|
required: true
|
||
|
|
||
|
jobs:
|
||
|
login:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
-
|
||
|
name: Login to Docker Hub
|
||
|
uses: docker/login-action@v1
|
||
|
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
|