ci: test container build push

This commit is contained in:
Ramon Roche
2025-02-26 21:00:02 -08:00
parent b786006443
commit fd06661da9
+3 -3
View File
@@ -33,14 +33,14 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -90,7 +90,7 @@ jobs:
- name: Push container image
uses: docker/build-push-action@v6
if: ${{ startsWith(github.ref, 'refs/tags/') }}
# if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
context: Tools/setup
tags: ${{ steps.meta.outputs.tags }}