Skip to content

Commit

Permalink
Added dockerhub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
koslib committed Oct 14, 2022
1 parent 35a12b3 commit b276bc9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Dockerhub Build

on:
workflow_dispatch:
inputs:
tag:
type: string
required: true

jobs:
docker:
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: koslib
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: koslib/ga-helm-eks:latest, koslib/ga-helm-eks:{{ github.event.inputs.tag }}

0 comments on commit b276bc9

Please sign in to comment.