Skip to content

Commit

Permalink
Merge pull request #6 from tub-aiglart/semaphore-setup
Browse files Browse the repository at this point in the history
Add semaphore.yml
  • Loading branch information
rxsto authored Jun 11, 2019
2 parents 8d844ac + 9b6c42c commit 1d61e65
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: v1.0
name: Main pipeline

agent:
machine:
type: e1-standard-2
os_image: ubuntu1804

blocks:
- name: Build Docker image
task:
secrets:
- name: docker-hub-creds
jobs:
- name: Build Docker image
commands:
- checkout
- docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"
- docker build -t rxsto/tub-web:latest .
- docker push rxsto/tub-web:latest

0 comments on commit 1d61e65

Please sign in to comment.