Skip to content

Commit

Permalink
feat: dockerhub push pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jun 30, 2024
1 parent 44957f7 commit a0dabd1
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 124 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/build.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/dockerhub-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Publish to Dockerhub

on:
push:
branches:
- "main"
paths-ignore:
- "**.md"
- "LICENSE"
- "LICENSE.txt"

jobs:
dockerhub:
name: Publish Docker Image(s) to Dockerhub
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- 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_PASSWORD }}

- name: Build & Push naarad-ntfy
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile-build
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/naarad-ntfy:latest
36 changes: 0 additions & 36 deletions .github/workflows/docs.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/release.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/test.yaml

This file was deleted.

0 comments on commit a0dabd1

Please sign in to comment.