|
|
|
@@ -83,26 +83,19 @@ jobs:
|
|
|
|
|
|
|
|
|
|
- name: Build Docker image
|
|
|
|
|
run: |
|
|
|
|
|
# Build with both local and remote registry tags
|
|
|
|
|
# Build with docker.notsosm.art registry
|
|
|
|
|
docker build \
|
|
|
|
|
--build-arg GIT_COMMIT=${{ github.sha }} \
|
|
|
|
|
-t euchre-camp/euchre-camp:${{ steps.version.outputs.new_version }} \
|
|
|
|
|
-t euchre-camp/euchre-camp:latest \
|
|
|
|
|
-t dhg.lol:5000/euchre-camp:${{ steps.version.outputs.new_version }} \
|
|
|
|
|
-t dhg.lol:5000/euchre-camp:latest \
|
|
|
|
|
-t docker.notsosm.art/euchre-camp:${{ steps.version.outputs.new_version }} \
|
|
|
|
|
-t docker.notsosm.art/euchre-camp:latest \
|
|
|
|
|
.
|
|
|
|
|
|
|
|
|
|
- name: Push Docker images
|
|
|
|
|
run: |
|
|
|
|
|
# Push to local registry (euchre-camp)
|
|
|
|
|
echo "Pushing to local registry..."
|
|
|
|
|
docker push euchre-camp/euchre-camp:${{ steps.version.outputs.new_version }}
|
|
|
|
|
docker push euchre-camp/euchre-camp:latest
|
|
|
|
|
|
|
|
|
|
# Push to remote registry (dhg.lol:5000)
|
|
|
|
|
echo "Pushing to remote registry..."
|
|
|
|
|
docker push dhg.lol:5000/euchre-camp:${{ steps.version.outputs.new_version }}
|
|
|
|
|
docker push dhg.lol:5000/euchre-camp:latest
|
|
|
|
|
# Push to docker.notsosm.art registry
|
|
|
|
|
echo "Pushing to docker.notsosm.art..."
|
|
|
|
|
docker push docker.notsosm.art/euchre-camp:${{ steps.version.outputs.new_version }}
|
|
|
|
|
docker push docker.notsosm.art/euchre-camp:latest
|
|
|
|
|
|
|
|
|
|
- name: Deploy to dev (placeholder)
|
|
|
|
|
run: |
|
|
|
|
|