Skip to content

Commit

Permalink
test docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 8, 2023
1 parent 6de677e commit a9c92c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# This action is use for build multiply applications to DockerHub at one time
# It need LABEL version="" at your dockerfile. And it can divide version. e.g version v3.4.0.3 will divide to latest,v3,v3.4,v3.4.0,v3.4.0.3
# When version include "-", it not divide version and build ony one test image
# It have enable multiPlatform, you add more platform at platform: linux/amd64...

name: Build image to DockerHub

on:
Expand Down Expand Up @@ -73,6 +78,8 @@ jobs:
registry: docker.io
directory: ${{env.DIRECTORY}}
dockerfile: ${{env.DOCKERFILE}}
multiPlatform: true
platform: linux/amd64
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

Expand Down
2 changes: 1 addition & 1 deletion apps/discuz/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM joomla:php7.4-apache

LABEL maintainer="[email protected]"
LABEL version="v3.4.0.3-rc1"
LABEL version="v3.4.0"
LABEL source="Discuz_X3.4_SC_UTF8_20220811"
LABEL description="Discuz"

Expand Down

0 comments on commit a9c92c2

Please sign in to comment.