Skip to content

Commit

Permalink
fix: Fix docker publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 17, 2021
1 parent 668517e commit 375790c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
runs-on: ubuntu-latest
if: github.event_name == 'push'
# if: github.event_name == 'push'

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ selfcheck: ## check that the Makefile is well-formed
@echo "The Makefile is well-formed."

docker_build:
docker-compose build
docker build . -t openedx/xblock-sdk:latest

# devstack-themed shortcuts
dev.up: # Starts all containers
Expand Down

0 comments on commit 375790c

Please sign in to comment.