aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/docker-publish-dh.yml
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-17 09:39:53 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-17 09:49:40 -0500
commit694bb0375daa9cd9cf157d94338a8dfc13b6fd2e (patch)
treea72d5902b76aebf8e9382ee8dbf1b6c9884acd48 /.github/workflows/docker-publish-dh.yml
parent93812b5f365ce051779dcce16aeb9c21aeeaae59 (diff)
downloadDLAP-694bb0375daa9cd9cf157d94338a8dfc13b6fd2e.tar.gz
DLAP-694bb0375daa9cd9cf157d94338a8dfc13b6fd2e.tar.bz2
DLAP-694bb0375daa9cd9cf157d94338a8dfc13b6fd2e.zip
Update and rename docker-image.yml to docker-publish-dh.yml
Diffstat (limited to '.github/workflows/docker-publish-dh.yml')
-rw-r--r--.github/workflows/docker-publish-dh.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/docker-publish-dh.yml b/.github/workflows/docker-publish-dh.yml
new file mode 100644
index 0000000..6d9534c
--- /dev/null
+++ b/.github/workflows/docker-publish-dh.yml
@@ -0,0 +1,23 @@
+name: Docker Publish DockerHub
+
+on:
+ push:
+ branches: [ "stable" ]
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ # No changes
+
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+
+ - name: Build and push
+ uses: docker/build-push-action@v5
+ with:
+ push: true
+ tags: alee14498/dlap:latest