Skip to content

Commit

Permalink
fix github actions to accomodate new folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lastarc committed Mar 27, 2024
1 parent 94488f6 commit 7c0e474
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@ name: Docker

on:
push:
paths:
- "bot/**"
- ".github/**"
branches:
- "main"

defaults:
run:
working-directory: "bot"

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.repository }}-bot


jobs:
Expand Down Expand Up @@ -38,7 +45,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
context: ./bot
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
Expand Down

0 comments on commit 7c0e474

Please sign in to comment.