Skip to content

vanhoale is publishing app docker image #1

vanhoale is publishing app docker image

vanhoale is publishing app docker image #1

name: Build App Docker Image
run-name: ${{ github.actor }} is publishing app docker image
on: [push]
jobs:
build:
name: Build & Push docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: deployment/.
push: true
tags: hoale/go_app:1.0