Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JarcauCristian committed Nov 15, 2023
2 parents 1b45983 + ef406e6 commit a40867b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docker Image CI

on:
push:
branches: [ "main" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build image
run: docker build . --file Dockerfile --tag scr4pp/go_load_balancer:latest
- name: Push Image
uses: docker/build-push-action@v2
with:
push: true
tags: scr4pp/go_load_balancer:latest

0 comments on commit a40867b

Please sign in to comment.