Skip to content

Commit

Permalink
Merge pull request #11 from kysre/add-github-actions-for-build
Browse files Browse the repository at this point in the history
Add github build & push action
  • Loading branch information
kysre authored Jan 30, 2024
2 parents 9288196 + 8e3fdb9 commit 07ce019
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 60 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

on:
push:
branches:
- 'main'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: kysre/johar:latest
44 changes: 0 additions & 44 deletions docker-compose.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions nginx/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions nginx/default.conf

This file was deleted.

0 comments on commit 07ce019

Please sign in to comment.