Skip to content

Commit

Permalink
Add GitHub action to push metadata image (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: John Collier <[email protected]>
  • Loading branch information
johnmcollier authored Nov 4, 2020
1 parent 62d041d commit d248cf6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pushimage-next.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#
# Copyright (c) 2020 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: Next Dockerimage

on:
push:
branches: [ master ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- name: Checkout registry-support source code
uses: actions/checkout@v2
- name: Login to Quay
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Build the registry metadata image
run: cd oci-devfile-registry-metadata && ./build.sh
- name: Push the registry metadata image
run: cd oci-devfile-registry-metadata && ./push.sh quay.io/devfile/metadata-server:next

0 comments on commit d248cf6

Please sign in to comment.