Skip to content

Docker Image Push 18.04 #31

Docker Image Push 18.04

Docker Image Push 18.04 #31

name: Docker Image Push 18.04
on:
workflow_dispatch:
branches: [ master ]
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
- name: Build the Docker image
run: docker build . --file Dockerfile_Ubuntu_18.04 --tag ozrygle/mediaelch:18.04
- name: Docker Push
run: docker push ozrygle/mediaelch:18.04