Skip to content

Commit

Permalink
Addition of GitHub Actions workflow (#188)
Browse files Browse the repository at this point in the history
* changed the name of discord token env variable to be consistent with readme.md

* added github actions workflow for building and pushing docker image to dockerhub on release
  • Loading branch information
v1km4n authored Apr 29, 2024
1 parent 92e0e06 commit 079cd01
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/push-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: neue Docker Image Push

on:
release:
types: [released]

jobs:
push-docker-image:
runs-on: ubuntu-latest
steps:
- name: check repository
uses: actions/checkout@v4

- name: login to docker registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: test github actions variable
run: echo "${{ github.event.release.tag_name }}"

# - name: build and push docker image to registry
# uses: docker/build-push-action@v5
# with:
# push: true
# tags: |
# simploka/neue:latest
# simploka/neue:${{ github.event.release.tag_name }}

0 comments on commit 079cd01

Please sign in to comment.