diff --git a/.github/workflows/consul.yml b/.github/workflows/consul.yml new file mode 100644 index 0000000..cd0e96d --- /dev/null +++ b/.github/workflows/consul.yml @@ -0,0 +1,50 @@ +name: Consul + +on: + push: + branches: + - master + +env: + REGISTRY: ghcr.io + IMAGE_NAME: aldy505/consul-ci + +jobs: + build: + name: Build + runs-on: ubuntu-latest + timeout-minutes: 300 + permissions: + contents: read + packages: write + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Log in to the Container registry + uses: docker/login-action@v2 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Extract metadata (tags, labels) for Docker + id: meta + uses: docker/metadata-action@v4 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + flavor: | + latest=true + tags: | + type=sha + + - name: Build and push Docker image + uses: docker/build-push-action@v3 + with: + context: "{{defaultContext}}:Consul" + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} diff --git a/consul/Dockerfile b/consul/Dockerfile new file mode 100644 index 0000000..7238128 --- /dev/null +++ b/consul/Dockerfile @@ -0,0 +1,3 @@ +FROM consul:1.14.4 + +CMD ["consul", "agent", "-dev", "-data-dir=/tmp/consul", "-client=0.0.0.0"] diff --git a/minio/Dockerfile b/minio/Dockerfile index e156ba9..536d57b 100644 --- a/minio/Dockerfile +++ b/minio/Dockerfile @@ -1,4 +1,4 @@ -FROM minio/minio:RELEASE.2022-12-12T19-27-27Z +FROM minio/minio:RELEASE.2023-01-25T00-19-54Z RUN mkdir -p /data diff --git a/redpanda/Dockerfile b/redpanda/Dockerfile index e6fa255..7a7109b 100644 --- a/redpanda/Dockerfile +++ b/redpanda/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.redpanda.com/vectorized/redpanda:v22.2.2 +FROM docker.redpanda.com/vectorized/redpanda:v22.3.11 WORKDIR / diff --git a/typesense/Dockerfile b/typesense/Dockerfile index 4b47c5a..7e2bc5f 100644 --- a/typesense/Dockerfile +++ b/typesense/Dockerfile @@ -1,4 +1,4 @@ -FROM typesense/typesense:0.24.0.rcn43 +FROM typesense/typesense:0.24.0 RUN apt-get update && \ apt-get upgrade -y && \