Skip to content

fixing the port error and added http logging #4

fixing the port error and added http logging

fixing the port error and added http logging #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build -t hello-go:$(date +%s) .
- name: Build and Push Docker Image
uses: mr-smithers-excellent/docker-build-push@v6
with:
image: olakara/hello-go
registry: docker.io
addLatest: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}