Skip to content

Commit 6c257c1

Browse files
authored
Create build-and-push.yml
1 parent f06bec2 commit 6c257c1

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: build-and-push
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Build and push Docker images
14+
run: |
15+
cd dockerfiles
16+
./buildDockerImage.sh -v 18.4.0 -x -o -t jlundy/oracle-db:18.4.0-xe
17+
docker login -u ${{ secrets.DOCKERHUB_USERNAME}} -p ${{ secrets.DOCKERHUB_PASSWORD }}
18+
docker push jlundy/oracle-db:18.4.0-xe

0 commit comments

Comments
 (0)