Skip to content

fix: Update Dockerfile of couchdb. #7

fix: Update Dockerfile of couchdb.

fix: Update Dockerfile of couchdb. #7

name: docker-buildimage-couchdb
on:
push:
branches: [ main ]
paths:
- 'docker/couchdb/**'
- '.github/workflows/docker-buildimage-couchdb.yml'
jobs:
build-image:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWD }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
context: docker/couchdb/
file: docker/couchdb/Dockerfile
platforms: linux/amd64, linux/arm64/v8
push: true
tags: |
gsmlg/couchdb:3.2.2
gsmlg/couchdb:3
gsmlg/couchdb:latest