generated from IslasGECI/templater
-
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.
π©π½βπ β¬οΈ π pushimage to docker hub
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 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 |
---|---|---|
|
@@ -7,16 +7,25 @@ jobs: | |
- name: Copia repositorio | ||
uses: actions/checkout@main | ||
- name: Construye imagen | ||
run: docker build --tag islasgeci . | ||
run: docker build --tag islasgeci/geci_diversity --tag islasgeci/geci_diversity:${GITHUB_SHA:0:4} . | ||
- name: Verifica el formato | ||
run: docker run islasgeci make check | ||
run: docker run islasgeci/geci_diversity make check | ||
- name: Corre pruebas y evalΓΊa cobertura | ||
run: docker run islasgeci make coverage | ||
run: docker run islasgeci/geci_diversity make coverage | ||
- name: Corre mutation testing | ||
run: docker run islasgeci make mutants | ||
run: docker run islasgeci/geci_diversity make mutants | ||
- name: Create/Update tag | ||
uses: rickstaa/[email protected] | ||
with: | ||
tag: "latest" | ||
message: "Latest release" | ||
force_push_tag: true | ||
- name: Docker log-in | ||
env: | ||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | ||
run: echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin | ||
- name: Sube latest a Docker Hub | ||
run: docker push islasgeci/geci_diversity:latest | ||
- name: Sube sha a Docker Hub | ||
run: docker push islasgeci/geci_diversity:${GITHUB_SHA:0:4} |