Skip to content

Commit

Permalink
chore: use own workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nreinartz committed Nov 19, 2023
1 parent 0cb5c30 commit 81f3845
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 177 deletions.
18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/bug-fix-template.md

This file was deleted.

12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE/documentation-template.md

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/enhancement-template.md

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/docker-CI-release.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/docker-CI.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: docker-image

on:
push:
tags:
- "*"

env:
VERSION: 1.0.0-dev.1

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository }}
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ env.VERSION }}
type=sha
- 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: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
35 changes: 0 additions & 35 deletions .github/workflows/docker-pr.yml

This file was deleted.

0 comments on commit 81f3845

Please sign in to comment.