Skip to content

trigger build

trigger build #1

Workflow file for this run

Check failure on line 1 in .github/workflows/push.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/push.yaml

Invalid workflow file

You have an error in your yaml syntax on line 1
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