Skip to content

Commit 0e2ef4d

Browse files
author
Tomas Norre Mikkelsen
committed
[CI] Move all release logic to Release.yml
1 parent c636efa commit 0e2ef4d

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

.github/workflows/DockerHub.yml

-23
This file was deleted.

.github/workflows/Release.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,17 @@ jobs:
2828
env:
2929
GITHUB_TOKEN: "${{ secrets.TOMASNORRE_BOT_TOKEN }}"
3030
with:
31-
tag_name: v2
31+
tag_name: v2
32+
33+
# Make New Release to Docker Hub
34+
- name: Checkout code
35+
uses: actions/checkout@v2
36+
37+
- name: Docker Login
38+
run: docker login --username=${{ secrets.DOCKER_HUB_USERNAME }} --password=${{ secrets.DOCKER_HUB_PASSWORD }}
39+
40+
- name: Docker Build
41+
run: docker build -t tomasnorre/typo3teruploader:latest Docker/
42+
43+
- name: Docker Push
44+
run: docker push tomasnorre/typo3teruploader:latest

0 commit comments

Comments
 (0)