Skip to content

Commit

Permalink
Remove snapcraft
Browse files Browse the repository at this point in the history
  • Loading branch information
Saphyel committed Mar 7, 2023
1 parent d2f92c9 commit 3cd9601
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 31 deletions.
13 changes: 5 additions & 8 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
**/__pycache__/
*_cache/
.idea/
.vscode/
.env
.dockerignore
.git/
.gitignore
.github/
.vscode/
**/bin
/*.md
Dockerfile
.dockerignore
.coverage
LICENSE
README.md
snapcraft.yaml
**/__pycache__/
*_cache/
26 changes: 26 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Publish

on:
release:
types: [ published ]

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: |
saphyel/tasker:latest
saphyel/tasker:${{ github.event.release.tag_name }}
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
**/__pycache__/
build/
*.egg-info/
.env
*_cache/
.coverage
*.snap
lib/
bin/
pyvenv.cfg
.env
.coverage
20 changes: 0 additions & 20 deletions snapcraft.yaml

This file was deleted.

0 comments on commit 3cd9601

Please sign in to comment.