Skip to content

Commit fadb0fa

Browse files
YML Validation Error (#2)
1 parent 2052dac commit fadb0fa

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: publish
1+
name: Publish Image to ghcr.io
22
on:
33
workflow_dispatch:
44
inputs:
@@ -8,22 +8,22 @@ on:
88
type: boolean
99
default: false
1010
jobs:
11-
publish-mwcs-deploy-image:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v2
15-
- name: Login to GitHub Container Registry
16-
uses: docker/login-action@v1
17-
with:
18-
registry: ghcr.io
19-
username: ${{ github.actor }}
20-
password: ${{ secrets.GITHUB_TOKEN }}
21-
- name: Only Build MWCS Deploy
22-
if: ${{input.build-only == true}}
23-
run: |
24-
docker build . --tag ghcr.io/godaddy-wordpress/mwcs-deploy:latest
25-
- name: Build the MWCS Deploy Docker image and Publish
26-
if: ${{input.build-only == false}}
27-
run: |
28-
docker build . --tag ghcr.io/godaddy-wordpress/mwcs-deploy:latest
29-
docker push ghcr.io/godaddy-wordpress/mwcs-deploy:latest
11+
Publish_MWCS_Deploy_Image:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Login to GitHub Container Registry
16+
uses: docker/login-action@v1
17+
with:
18+
registry: ghcr.io
19+
username: ${{ github.actor }}
20+
password: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Only Build MWCS Deploy
22+
if: ${{input.build-only == true}}
23+
run: |
24+
docker build . --tag ghcr.io/godaddy-wordpress/mwcs-deploy:latest
25+
- name: Build the MWCS Deploy Docker image and Publish
26+
if: ${{input.build-only == false}}
27+
run: |
28+
docker build . --tag ghcr.io/godaddy-wordpress/mwcs-deploy:latest
29+
docker push ghcr.io/godaddy-wordpress/mwcs-deploy:latest

0 commit comments

Comments
 (0)