Compare commits
32 Commits
v1-refacto
...
v1.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
5748834af4
|
|||
|
06d2a5ef01
|
|||
|
2c99fbf517
|
|||
| 81968a6811 | |||
|
7d83fd8518
|
|||
| 7b34919e72 | |||
|
98fec74ac0
|
|||
| 2269104805 | |||
| 4bea5e020f | |||
| 60803961b3 | |||
|
197e35314a
|
|||
|
db0c0a3893
|
|||
|
46fec9b85a
|
|||
|
204404b761
|
|||
| 6e7fc73420 | |||
|
67c85aebf9
|
|||
| b9088d932c | |||
|
8c1d044f79
|
|||
| f688ee035f | |||
|
7fd5d93b6d
|
|||
|
d7ad90a1d5
|
|||
| ac5abffd74 | |||
|
1c43c62523
|
|||
| bef0a4d593 | |||
|
bf7739228f
|
|||
| 270934613f | |||
|
5cea64626c
|
|||
| 70d72759ce | |||
|
c537874adb
|
|||
|
b496d14cf7
|
|||
|
c2de1abfd2
|
|||
|
635d5d5113
|
@@ -23,14 +23,14 @@ jobs:
|
||||
|
||||
# Set up Docker Buildx for building the image
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@v4
|
||||
with:
|
||||
driver: remote
|
||||
endpoint: 'tcp://buildkitd:1234'
|
||||
|
||||
# Log in to the Gitea container registry
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: git.dubyatp.xyz
|
||||
username: williamp
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
|
||||
# Build and push the Docker image
|
||||
- name: Build and Push Docker Image
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
context: . # Build context (current directory)
|
||||
file: ./Dockerfile # Path to Dockerfile
|
||||
@@ -75,8 +75,13 @@ jobs:
|
||||
git config --local user.signingkey ~/.ssh/id_ed25519
|
||||
git config --local gpg.format ssh
|
||||
git config --local commit.gpgsign true
|
||||
git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}"
|
||||
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}"
|
||||
else
|
||||
echo "No changes to commit, skipping..."
|
||||
fi
|
||||
exit 0
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@v1.0.0
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user