Restructure function #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker image push | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build-docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to image repository | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.USER }} | |
password: ${{ secrets.PASS }} | |
- name: Build and push | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
file: Dockerfile | |
push: true | |
tags: "narbehaj/ssl-checker:latest" |