Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix): lowercase repo name #2

Merged
merged 3 commits into from
Nov 29, 2024
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
5 changes: 5 additions & 0 deletions .github/workflows/slack-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set lowercase image name
run: |
echo "IMAGE_NAME=$(echo ${{ github.repository }}/slack-bot | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -90,3 +94,4 @@ jobs:
PYTHON_TAG=${{ matrix.tag-suffix }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile.bot
6 changes: 5 additions & 1 deletion .github/workflows/snow-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/snow-config

jobs:
build-and-push:
Expand Down Expand Up @@ -56,6 +55,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set lowercase image name
run: |
echo "IMAGE_NAME=$(echo ${{ github.repository }}/snow-config | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -90,3 +93,4 @@ jobs:
PYTHON_TAG=${{ matrix.tag-suffix }}
cache-from: type=gha
cache-to: type=gha,mode=max
file: Dockerfile.config
File renamed without changes.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ services:
build:
dockerfile: Dockerfile.config
context: .
image: ghcr.io/kameshsampath/snowflake_demo_user_setup
image: ghcr.io/kameshsampath/apj-build-2024-slack-demo/snow-config:py-311
pull_policy: always
user: me
volumes:
- snowflake_home:/home/me/.snowflake
Expand All @@ -16,7 +17,8 @@ services:
build:
dockerfile: Dockerfile
context: .
image: ghcr.io/kameshsampath/demomate:build24
image: ghcr.io/kameshsampath/apj-build-2024-slack-demo/slack-bot:py-311
pull_policy: always
user: me
env_file:
- .env.bot
Expand Down