Skip to content

Commit 4c32d02

Browse files
committed
Updated Docker Build
1 parent 7805afc commit 4c32d02

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/docker-manual-publish.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: DOCKER Manual Publish
22

33
on:
44
schedule:
5-
- cron: '10 1 6,21 * *'
5+
- cron: '0 0 1 * *'
66
workflow_dispatch:
77

88
env:
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

@@ -39,22 +39,22 @@ jobs:
3939
echo ::set-output name=dockerhub_image::${DOCKERHUB_IMAGE}
4040
4141
- name: Set up QEMU
42-
uses: docker/setup-qemu-action@v1
42+
uses: docker/setup-qemu-action@v3
4343
with:
4444
platforms: all
4545

4646
- name: Set up Docker Buildx
4747
id: buildx
48-
uses: docker/setup-buildx-action@v1
48+
uses: docker/setup-buildx-action@v3
4949

5050
- name: Login to DockerHub
51-
uses: docker/login-action@v1
51+
uses: docker/login-action@v3
5252
with:
5353
username: ${{ secrets.DOCKERHUB_USERNAME }}
5454
password: ${{ secrets.DOCKERHUB_TOKEN }}
5555

5656
- name: Build and push
57-
uses: docker/build-push-action@v2
57+
uses: docker/build-push-action@v5
5858
with:
5959
builder: ${{ steps.buildx.outputs.name }}
6060
context: .
@@ -63,3 +63,11 @@ jobs:
6363
platforms: linux/amd64,linux/arm64,linux/386
6464
tags: ${{ steps.prep.outputs.tags }}
6565
labels: org.opencontainers.image.version=${{ steps.prep.outputs.version }}
66+
67+
- name: Update repo description at Docker Hub
68+
uses: peter-evans/dockerhub-description@v4
69+
with:
70+
username: ${{ secrets.DOCKERHUB_USERNAME }}
71+
password: ${{ secrets.DOCKERHUB_TOKEN }}
72+
repository: ${{ github.repository }}
73+
short-description: Linux Container

0 commit comments

Comments
 (0)