Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/docker:build&push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,24 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Set date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
-
name: Generate Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: sergion14/uxcaptain-server
tags: |
type=raw,value=${{ github.ref_name }}
type=raw,value=${{ github.ref_name }}-${{ steps.date.outputs.date }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64 #,linux/arm64 - Not building for ARM, since ubuntu server is just amd64
push: true
tags: sergion14/uxcaptain:server-${{ github.ref_name }}
tags: ${{ steps.meta.outputs.tags }}
3 changes: 3 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ services:
# AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
# S3_BUCKET: dev-analysis-entry-storage
# S3_REGION: ${S3_REGION}
# S3_ENDPOINT: ${S3_ENDPOINT}
# MINIO_ROOT_USER=${MINIO_ROOT_USER}
# MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}

# ports:
# - 3000:3000
Expand Down