Skip to content

Update Dockerfile to list openssl #16

Update Dockerfile to list openssl

Update Dockerfile to list openssl #16

name: Publish Docker Image
on:
push:
branches:
- 'main'
paths:
- 'Dockerfile'
- '/copy'
- '.dockerignore'
- '.gitignore'
workflow_dispatch:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: hackforlaops/ghpages:latest