mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-05-05 12:39:55 +02:00
Resolve Review comments
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
4deaffac48
commit
34d200b35d
13 changed files with 332 additions and 136 deletions
16
.github/workflows/verify-push.yaml
vendored
16
.github/workflows/verify-push.yaml
vendored
|
@ -1,8 +1,8 @@
|
|||
# This workflow will perform a test whenever there
|
||||
# is some change in code done to ensure that the changes
|
||||
# are not buggy and we are getting the desired output.
|
||||
name: Test Push
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
name: Test Push without image
|
||||
on: [ push, workflow_dispatch ]
|
||||
env:
|
||||
IMAGE_NAME: myimage
|
||||
IMAGE_REGISTRY: quay.io
|
||||
|
@ -17,12 +17,12 @@ jobs:
|
|||
- name: Checkout Push to Registry action
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build Image using Docker
|
||||
run: |
|
||||
docker build -t ${{ env.IMAGE_NAME }}:latest -<<EOF
|
||||
FROM busybox
|
||||
RUN echo "hello world"
|
||||
EOF
|
||||
# - name: Build Image using Docker
|
||||
# run: |
|
||||
# docker build -t ${{ env.IMAGE_NAME }}:latest -<<EOF
|
||||
# FROM busybox
|
||||
# RUN echo "hello world"
|
||||
# EOF
|
||||
|
||||
# Push the image to image registry
|
||||
- name: Push To Quay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue