Compare commits
2 Commits
8cf3f2d401
...
5e2dbbc2be
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e2dbbc2be | |||
| da9c6ae70b |
@@ -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: |
|
||||
|
||||
@@ -14,7 +14,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
// Configuration
|
||||
const REGISTRY = 'euchre-camp';
|
||||
const REGISTRY = 'docker.notsosm.art';
|
||||
const IMAGE_NAME = 'euchre-camp';
|
||||
const FULL_IMAGE_NAME = `${REGISTRY}/${IMAGE_NAME}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user