Skip to content

Commit

Permalink
trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Nov 5, 2024
1 parent e50df70 commit a6d9d11
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

name: publish

on:
push:
branches:
- docker-limit

jobs:

publish-hello-docker-image:

runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v2

- name: Login to GitHub Container Registry

uses: docker/login-action@v1

with:

registry: ghcr.io

username: ${{ github.actor }}

password: ${{ secrets.GITHUB_TOKEN }}

- name: Build the hello-docker Docker image

run: |
docker pull opensearchproject/opensearch:2.11.1
docker image tag opensearchproject/opensearch:2.11.1 ghcr.io/obmondo/opensearchproject:2.11.1
docker push ghcr.io/obmondo/opensearchproject:2.11.1

0 comments on commit a6d9d11

Please sign in to comment.