Skip to content

Commit

Permalink
πŸ‘©πŸ½β€πŸ­ ⬆️ πŸ‹ pushimage to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
MemoOlv committed Dec 9, 2024
1 parent 8c01e3c commit 8ce59c7
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 8ce59c7

Please sign in to comment.