diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index f693565..35bcd34 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -2,7 +2,7 @@ name: Publish Docker Image on: push: - branches: [main] + branches: [main, experimental-github-actions] env: IMAGE: mango-feeds @@ -37,10 +37,12 @@ jobs: # Build and push the image - name: Build and Push Image uses: docker/build-push-action@v2 + run: | + source ci/rust-version.sh with: context: . build-args: | - RUST_TOOLCHAIN_VERSION=1.71.1 + RUST_TOOLCHAIN_VERSION=${{ env.RUST_STABLE }} push: true tags: | ${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.IMAGE }}:${{ github.sha }}