forked from ykaaouachi/2048
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 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,19 @@ | ||
pipeline: | ||
|
||
# This step pushes your image to the registry. You can use the default Walhall registry or change the credentials in Drone (drone.walhall.io) to use your own Docker registry, | ||
build-docker-image-tag: | ||
image: plugins/docker | ||
registry: | ||
from_secret: DOCKER_REGISTRY # The hostname of your registry, i.e., registry.example.com | ||
repo: | ||
from_secret: DOCKER_REPO # This is the complete name of your image: <DOCKER_REGISTRY>/<your organization name>/<your image name>. A valid name will be: registry.example.com/humanitec/some_name_service. It's important to comply with the Docker image restrictions. For more information read: https://docs.docker.com/engine/reference/commandline/tag/#extended-description | ||
username: | ||
from_secret: DOCKER_USERNAME # Your registry username | ||
password: | ||
from_secret: DOCKER_PASSWORD # Your registry password | ||
auto_tag: true | ||
insecure: true | ||
file: Dockerfile | ||
when: | ||
event: [push, tag] | ||
status: [success] |