diff --git a/.drone.yml b/.drone.yml index 0ae35f4..34cb0d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,13 +9,13 @@ steps: dockerfile: Dockerfile context: . tags: - - sthopeless/my-nginx-website:latest - - sthopeless/my-nginx-website:${DRONE_COMMIT_SHA} + - ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:${DRONE_COMMIT_SHA} + - ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}:latest - name: publish image: plugins/docker settings: - repo: sthopeless/my-nginx-website + repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME} tags: - latest - ${DRONE_COMMIT_SHA}