forked from azerothcore/azerothcore-wotlk
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.3.5' into npcbots_3.3.5
- Loading branch information
Showing
77 changed files
with
3,216 additions
and
1,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: docker tag and build | ||
description: a helper action to shorten generating docker tags and building | ||
inputs: | ||
component-name: | ||
description: name of the component/docker image (eg worldserver, authserver) | ||
type: string | ||
required: true | ||
push: | ||
description: whether to push the image or not | ||
type: boolean | ||
required: true | ||
version: | ||
description: version tag to use for docker image | ||
required: true | ||
type: string | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Get Docker Metadata | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: acore/ac-wotlk-${{ inputs.component-name }} | ||
tags: | | ||
type=raw,value=${{ inputs.version }} | ||
type=ref,event=branch | ||
- name: Build and push | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: ${{ github.workspace }} | ||
file: apps/docker/Dockerfile | ||
push: ${{ inputs.push }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
target: ${{ inputs.component-name }} | ||
build-args: | | ||
USER_ID=1000 | ||
GROUP_ID=1000 | ||
DOCKER_USER=acore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.