mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 23:38:55 +00:00
5a00a6b32f
* Update drone to v1.x * Add GitHub Actions
17 lines
265 B
Go
17 lines
265 B
Go
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
|