mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 09:18:54 +00:00
efee23eca7
Signed-off-by: khs1994 <khs1994@khs1994.com>
17 lines
265 B
YAML
17 lines
265 B
YAML
language: bash
|
|
|
|
dist: xenial
|
|
|
|
services:
|
|
- docker
|
|
|
|
before_script:
|
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
|
|
script:
|
|
- echo "test code"
|
|
|
|
after_success:
|
|
- docker build -t username/alpine .
|
|
- docker push username/alpine
|