Skip to content

Commit

Permalink
fix(docker): fixed docker build on CI (madara-alliance#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
antiyro authored Oct 2, 2024
1 parent 7fb64ec commit 2e1c739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ permissions:

jobs:
build_and_push:
runs-on: karnot-arc-runner-set
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
driver: docker

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion scripts/launcher
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ tput rc
tput ed

# Check if the image is available locally
IMAGE_NAME="ghcr.io/madara-alliance/madara/madara:latest"
IMAGE_NAME="ghcr.io/madara-alliance/madara:latest"
if docker images --format "{{.Repository}}:{{.Tag}}" | grep -q "$IMAGE_NAME"; then
echo -e "\n📦 ${GREEN}Docker image '$IMAGE_NAME' is already available locally.${NC}"
else
Expand Down

0 comments on commit 2e1c739

Please sign in to comment.