Skip to content

Commit

Permalink
docker-update actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tkchafin committed Jan 30, 2024
1 parent a2faeb7 commit 499c3b5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update Docker

on:
release:
types: [published]

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
push: true
tags: tkchafin/autostreamtree:latest,tkchafin/autostreamtree:${{ github.event.release.tag_name }}

0 comments on commit 499c3b5

Please sign in to comment.