diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f2758b0..4d89ac0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,7 +7,7 @@ jobs: build-and-push-image: runs-on: ubuntu-22.04 permissions: - contents: read + contents: write packages: write steps: - name: Checkout repository @@ -27,7 +27,13 @@ jobs: - name: Build requirements run: | sudo apt install -y protobuf-compiler + rm -rf backend/{configs,build} make configs webapp-proto + git config --global user.name "Build Workflow" + git config --global user.email "build_workflow@users.noreply.github.com" + git add backend/configs + git commit -am "Configs generated on $( date )" + git push - name: Build and push Docker image for nodes # id: build-and-push-backend