Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Nov 5, 2024
1 parent a6d9d11 commit e5fc83a
Showing 1 changed file with 18 additions and 29 deletions.
47 changes: 18 additions & 29 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: publish

on:
Expand All @@ -7,31 +6,21 @@ on:
- 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
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 and push 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 e5fc83a

Please sign in to comment.